Class CssContentElementNode
java.lang.Object
com.itextpdf.styledxmlparser.css.CssContextNode
com.itextpdf.html2pdf.css.resolve.CssContentElementNode
- All Implemented Interfaces:
-
com.itextpdf.styledxmlparser.node.ICustomElementNode
,com.itextpdf.styledxmlparser.node.IElementNode
,com.itextpdf.styledxmlparser.node.INode
,com.itextpdf.styledxmlparser.node.IStylesContainer
public class CssContentElementNode extends com.itextpdf.styledxmlparser.css.CssContextNode implements com.itextpdf.styledxmlparser.node.IElementNode, com.itextpdf.styledxmlparser.node.ICustomElementNode
IElementNode
implementation for content nodes.
-
Constructor Summary
ConstructorDescriptionCssContentElementNode
(com.itextpdf.styledxmlparser.node.INode parentNode, String pseudoElementName, Map<String, String> attributes) Creates a newCssContentElementNode
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalHtmlStyles
(Map<String, String> styles) getAttribute
(String key) com.itextpdf.styledxmlparser.node.IAttributes
getLang()
name()
Methods inherited from class com.itextpdf.styledxmlparser.css.CssContextNode
addChild, childNodes, getStyles, parentNode, setStyles
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.itextpdf.styledxmlparser.node.INode
addChild, childNodes, parentNode
Methods inherited from interface com.itextpdf.styledxmlparser.node.IStylesContainer
getStyles, setStyles
-
Constructor Details
-
CssContentElementNode
public CssContentElementNode(com.itextpdf.styledxmlparser.node.INode parentNode, String pseudoElementName, Map<String, String> attributes) Creates a newCssContentElementNode
instance.- Parameters:
-
parentNode
- the parent node -
pseudoElementName
- the pseudo element name -
attributes
- the attributes
-
-
Method Details
-
name
- Specified by:
-
name
in interfacecom.itextpdf.styledxmlparser.node.IElementNode
-
getAttributes
public com.itextpdf.styledxmlparser.node.IAttributes getAttributes()- Specified by:
-
getAttributes
in interfacecom.itextpdf.styledxmlparser.node.IElementNode
-
getAttribute
- Specified by:
-
getAttribute
in interfacecom.itextpdf.styledxmlparser.node.IElementNode
-
getAdditionalHtmlStyles
- Specified by:
-
getAdditionalHtmlStyles
in interfacecom.itextpdf.styledxmlparser.node.IElementNode
-
addAdditionalHtmlStyles
- Specified by:
-
addAdditionalHtmlStyles
in interfacecom.itextpdf.styledxmlparser.node.IElementNode
-
getLang
- Specified by:
-
getLang
in interfacecom.itextpdf.styledxmlparser.node.IElementNode
-