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.ICustomElementNode
,com.itextpdf.styledxmlparser.node.IElementNode
,com.itextpdf.styledxmlparser.node.INode
,com.itextpdf.styledxmlparser.node.IStylesContainer
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
ConstructorDescriptionPageTargetCountElementNode
(com.itextpdf.styledxmlparser.node.INode parent, String target) Creates a newPageTargetCountElementNode
instance. -
Method Summary
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.IElementNode
addAdditionalHtmlStyles, getAdditionalHtmlStyles, getAttribute, getAttributes, getLang, name
Methods inherited from interface com.itextpdf.styledxmlparser.node.IStylesContainer
getStyles, setStyles
-
Constructor Details
-
PageTargetCountElementNode
Creates a newPageTargetCountElementNode
instance.- Parameters:
-
parent
- the parent node -
target
- the target from which page will be taken.
-
-
Method Details
-
getTarget
Checks if the node represents the total page count.- Returns:
- true, if the node represents the total page count
-