Class JsoupNode
- java.lang.Object
-
- com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupNode
-
- All Implemented Interfaces:
INode
- Direct Known Subclasses:
JsoupDataNode,JsoupDocumentTypeNode,JsoupElementNode,JsoupTextNode,JsoupXmlDeclarationNode
public class JsoupNode extends java.lang.Object implements INode
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<INode>childNodesThe child nodes.private NodenodeThe JSoup node instance.(package private) INodeparentNodeThe parent node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(INode node)Adds a child node.java.util.List<INode>childNodes()Gets the child nodes.INodeparentNode()Gets the parent node.
-
-
-
Method Detail
-
childNodes
public java.util.List<INode> childNodes()
Description copied from interface:INodeGets the child nodes.- Specified by:
childNodesin interfaceINode- Returns:
- a list of
INodeinstances.
-
addChild
public void addChild(INode node)
Description copied from interface:INodeAdds a child node.
-
parentNode
public INode parentNode()
Description copied from interface:INodeGets the parent node.- Specified by:
parentNodein interfaceINode- Returns:
- the parent node
-
-