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 and Description |
|---|
CssContentElementNode(com.itextpdf.styledxmlparser.node.INode parentNode,
String pseudoElementName,
Map<String,String> attributes)
Creates a new
CssContentElementNode instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalHtmlStyles(Map<String,String> styles) |
List<Map<String,String>> |
getAdditionalHtmlStyles() |
String |
getAttribute(String key) |
com.itextpdf.styledxmlparser.node.IAttributes |
getAttributes() |
String |
getLang() |
String |
name() |
addChild, childNodes, getStyles, parentNode, setStylesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic CssContentElementNode(com.itextpdf.styledxmlparser.node.INode parentNode,
String pseudoElementName,
Map<String,String> attributes)
CssContentElementNode instance.parentNode - the parent nodepseudoElementName - the pseudo element nameattributes - the attributespublic String name()
name in interface com.itextpdf.styledxmlparser.node.IElementNodepublic com.itextpdf.styledxmlparser.node.IAttributes getAttributes()
getAttributes in interface com.itextpdf.styledxmlparser.node.IElementNodepublic String getAttribute(String key)
getAttribute in interface com.itextpdf.styledxmlparser.node.IElementNodepublic List<Map<String,String>> getAdditionalHtmlStyles()
getAdditionalHtmlStyles in interface com.itextpdf.styledxmlparser.node.IElementNodepublic void addAdditionalHtmlStyles(Map<String,String> styles)
addAdditionalHtmlStyles in interface com.itextpdf.styledxmlparser.node.IElementNodepublic String getLang()
getLang in interface com.itextpdf.styledxmlparser.node.IElementNodeCopyright © 1998–2019 iText Group NV. All rights reserved.