Package com.itextpdf.styledxmlparser.css
Class CssContextNode
java.lang.Object
com.itextpdf.styledxmlparser.css.CssContextNode
- All Implemented Interfaces:
-
INode
,IStylesContainer
- Direct Known Subclasses:
-
CssPseudoElementNode
,PageContextNode
,PageMarginBoxContextNode
The CSS context node.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CssContextNode
Creates a newCssContextNode
instance.- Parameters:
-
parentNode
- the parent node
-
-
Method Details
-
childNodes
Description copied from interface:INode
Gets the child nodes.- Specified by:
-
childNodes
in interfaceINode
- Returns:
-
a list of
INode
instances.
-
addChild
Description copied from interface:INode
Adds a child node. -
parentNode
Description copied from interface:INode
Gets the parent node.- Specified by:
-
parentNode
in interfaceINode
- Returns:
- the parent node
-
setStyles
Description copied from interface:IStylesContainer
Sets the styles.- Specified by:
-
setStyles
in interfaceIStylesContainer
- Parameters:
-
stringStringMap
- aMap
with style keys and values.
-
getStyles
Description copied from interface:IStylesContainer
Gets the styles.- Specified by:
-
getStyles
in interfaceIStylesContainer
- Returns:
- the styles
-