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, setStyles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CssContentElementNode(com.itextpdf.styledxmlparser.node.INode parentNode, String pseudoElementName, Map<String,String> attributes)
CssContentElementNode
instance.
parentNode
- the parent node
pseudoElementName
- the pseudo element name
attributes
- the attributes
public String name()
name
in interface com.itextpdf.styledxmlparser.node.IElementNode
public com.itextpdf.styledxmlparser.node.IAttributes getAttributes()
getAttributes
in interface com.itextpdf.styledxmlparser.node.IElementNode
public String getAttribute(String key)
getAttribute
in interface com.itextpdf.styledxmlparser.node.IElementNode
public List<Map<String,String>> getAdditionalHtmlStyles()
getAdditionalHtmlStyles
in interface com.itextpdf.styledxmlparser.node.IElementNode
public void addAdditionalHtmlStyles(Map<String,String> styles)
addAdditionalHtmlStyles
in interface com.itextpdf.styledxmlparser.node.IElementNode
public String getLang()
getLang
in interface com.itextpdf.styledxmlparser.node.IElementNode
Copyright © 1998–2020 iText Group NV. All rights reserved.