Class PageTargetCountElementNode

java.lang.Object
com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupNode
com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupElementNode
com.itextpdf.html2pdf.css.resolve.func.counter.PageCountElementNode
com.itextpdf.html2pdf.css.resolve.func.counter.PageTargetCountElementNode
All Implemented Interfaces:
com.itextpdf.styledxmlparser.node.IAttributesContainer, com.itextpdf.styledxmlparser.node.ICustomElementNode, com.itextpdf.styledxmlparser.node.IElementNode, com.itextpdf.styledxmlparser.node.INameContainer, com.itextpdf.styledxmlparser.node.INode, com.itextpdf.styledxmlparser.node.IStylesContainer

public class PageTargetCountElementNode extends PageCountElementNode
JsoupElementNode implementation for page target-counters.
  • Field Summary

    Fields inherited from class com.itextpdf.html2pdf.css.resolve.func.counter.PageCountElementNode

    PAGE_COUNTER_TAG
  • Constructor Summary

    Constructors
    Constructor
    Description
    PageTargetCountElementNode(com.itextpdf.styledxmlparser.node.INode parent, String target)
    Creates a new PageTargetCountElementNode instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Checks if the node represents the total page count.

    Methods inherited from class com.itextpdf.html2pdf.css.resolve.func.counter.PageCountElementNode

    addChild, childNodes, getDigitsGlyphStyle, isTotalPageCount, parentNode, setDigitsGlyphStyle

    Methods inherited from class com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupElementNode

    addAdditionalHtmlStyles, getAdditionalHtmlStyles, getAttribute, getAttributes, getLang, getStyles, name, setStyles, text

    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.IAttributesContainer

    getAttribute, getAttributes

    Methods inherited from interface com.itextpdf.styledxmlparser.node.IElementNode

    addAdditionalHtmlStyles, getAdditionalHtmlStyles, getLang

    Methods inherited from interface com.itextpdf.styledxmlparser.node.INameContainer

    name

    Methods inherited from interface com.itextpdf.styledxmlparser.node.IStylesContainer

    getStyles, setStyles
  • Constructor Details

    • PageTargetCountElementNode

      public PageTargetCountElementNode (com.itextpdf.styledxmlparser.node.INode parent, String target)
      Creates a new PageTargetCountElementNode instance.
      Parameters:
      parent - the parent node
      target - the target from which page will be taken.
  • Method Details

    • getTarget

      public String getTarget()
      Checks if the node represents the total page count.
      Returns:
      true, if the node represents the total page count