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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds 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 newJsoupNode
instance.- Parameters:
-
node
- the node
-
-
Method Details
-
childNodes
Description copied from interface:INode
Gets the child nodes.- Specified by:
-
childNodes
in interfaceINode
- Returns:
-
a list of
INode
instances.
-
addChild
Description copied from interface:INode
Adds a child node. -
parentNode
Description copied from interface:INode
Gets the parent node.- Specified by:
-
parentNode
in interfaceINode
- Returns:
- the parent node
-