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
ConstructorsConstructorDescriptionPageTargetCountElementNode(com.itextpdf.styledxmlparser.node.INode parent, String target) Creates a newPageTargetCountElementNodeinstance. -
Method Summary
Methods inherited from class com.itextpdf.html2pdf.css.resolve.func.counter.PageCountElementNode
addChild, childNodes, getDigitsGlyphStyle, isTotalPageCount, parentNode, setDigitsGlyphStyleMethods inherited from class com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupElementNode
addAdditionalHtmlStyles, getAdditionalHtmlStyles, getAttribute, getAttributes, getLang, getStyles, name, setStyles, textMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.itextpdf.styledxmlparser.node.IElementNode
addAdditionalHtmlStyles, getAdditionalHtmlStyles, getAttribute, getAttributes, getLang, nameMethods inherited from interface com.itextpdf.styledxmlparser.node.IStylesContainer
getStyles, setStyles
-
Constructor Details
-
PageTargetCountElementNode
Creates a newPageTargetCountElementNodeinstance.- 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
-