Class PageContextNode
java.lang.Object
com.itextpdf.styledxmlparser.css.CssContextNode
com.itextpdf.styledxmlparser.css.page.PageContextNode
- All Implemented Interfaces:
-
INode
,IStylesContainer
CssContextNode
implementation for page contexts.
-
Constructor Summary
ConstructorDescriptionCreates a newPageContextNode
instance.PageContextNode
(INode parentNode) Creates a newPageContextNode
instance. -
Method Summary
Modifier and TypeMethodDescriptionaddPageClass
(String pageClass) Adds a page class.Gets the list of page classes.Gets the page type name.setPageTypeName
(String pageTypeName) Sets the page type name.Methods inherited from class com.itextpdf.styledxmlparser.css.CssContextNode
addChild, childNodes, getStyles, parentNode, setStyles
-
Constructor Details
-
PageContextNode
public PageContextNode()Creates a newPageContextNode
instance. -
PageContextNode
Creates a newPageContextNode
instance.- Parameters:
-
parentNode
- the parent node
-
-
Method Details
-
addPageClass
Adds a page class.- Parameters:
-
pageClass
- the page class - Returns:
- the page context node
-
getPageTypeName
Gets the page type name.- Returns:
- the page type name
-
setPageTypeName
Sets the page type name.- Parameters:
-
pageTypeName
- the page type name - Returns:
- the page context node
-
getPageClasses
Gets the list of page classes.- Returns:
- the page classes
-