Class JsoupNode
java.lang.Object
com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupNode
- All Implemented Interfaces:
-
INode
- Direct Known Subclasses:
-
JsoupDataNode,JsoupDocumentTypeNode,JsoupElementNode,JsoupTextNode
Implementation of the
INode interface; wrapper for the JSoup Node class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a child node.Gets the child nodes.Gets the parent node.
-
Constructor Details
-
JsoupNode
public JsoupNode(com.itextpdf.styledxmlparser.jsoup.nodes.Node node) Creates a newJsoupNodeinstance.- Parameters:
-
node- the node
-
-
Method Details
-
childNodes
Description copied from interface:INodeGets the child nodes.- Specified by:
-
childNodesin interfaceINode - Returns:
-
a list of
INodeinstances.
-
addChild
Description copied from interface:INodeAdds a child node. -
parentNode
Description copied from interface:INodeGets the parent node.- Specified by:
-
parentNodein interfaceINode - Returns:
- the parent node
-