public class PageCountElementNode extends JsoupElementNode implements ICustomElementNode
ICustomElementNode implementation for a page count element node.
| Modifier and Type | Field and Description |
|---|---|
static String |
PAGE_COUNTER_TAG
The Constant PAGE_COUNTER_TAG.
|
| Constructor and Description |
|---|
PageCountElementNode(boolean totalPageCount)
Deprecated.
Will be removed in 3.0. Use
PageCountElementNode(boolean, INode) instead
|
PageCountElementNode(boolean totalPageCount, INode parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(INode node)
Adds a child node.
|
List<INode> |
childNodes()
Gets the child nodes.
|
boolean |
isTotalPageCount()
Checks if the node represents the total page count.
|
INode |
parentNode()
Gets the parent node.
|
addAdditionalHtmlStyles, getAdditionalHtmlStyles, getAttribute, getAttributes, getLang, getStyles, name, setStyles, textclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAdditionalHtmlStyles, getAdditionalHtmlStyles, getAttribute, getAttributes, getLang, namegetStyles, setStylespublic static final String PAGE_COUNTER_TAG
@Deprecated public PageCountElementNode(boolean totalPageCount)
PageCountElementNode(boolean, INode) instead
PageCountElementNode instance.
totalPageCount - indicates if the node represents the total page count
public PageCountElementNode(boolean totalPageCount,
INode parent) public List<INode> childNodes()
INode
childNodes in interface INode
childNodes in class JsoupNode
INode instances.
public void addChild(INode node)
INode
public INode parentNode()
INode
parentNode in interface INode
parentNode in class JsoupNode
public boolean isTotalPageCount()
Copyright © 1998–2019 iText Group NV. All rights reserved.