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 Details

    • CssContentElementNode

      public CssContentElementNode (com.itextpdf.styledxmlparser.node.INode parentNode, String pseudoElementName, Map<String,String> attributes)
      Creates a new CssContentElementNode instance.
      Parameters:
      parentNode - the parent node
      pseudoElementName - the pseudo element name
      attributes - the attributes
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface com.itextpdf.styledxmlparser.node.IElementNode
    • getAttributes

      public com.itextpdf.styledxmlparser.node.IAttributes getAttributes()
      Specified by:
      getAttributes in interface com.itextpdf.styledxmlparser.node.IElementNode
    • getAttribute

      public String getAttribute (String key)
      Specified by:
      getAttribute in interface com.itextpdf.styledxmlparser.node.IElementNode
    • getAdditionalHtmlStyles

      public List<Map<String,String>> getAdditionalHtmlStyles()
      Specified by:
      getAdditionalHtmlStyles in interface com.itextpdf.styledxmlparser.node.IElementNode
    • addAdditionalHtmlStyles

      public void addAdditionalHtmlStyles (Map<String,String> styles)
      Specified by:
      addAdditionalHtmlStyles in interface com.itextpdf.styledxmlparser.node.IElementNode
    • getLang

      public String getLang()
      Specified by:
      getLang in interface com.itextpdf.styledxmlparser.node.IElementNode