Node.getParent

<p> <code>getParent</code> returns the parent <code>Element</code> if this node supports the parent relationship or null if it is the root element or does not support the parent relationship. </p>

<p> This method is an optional feature and may not be supported for all <code>Node</code> implementations. </p>

@return the parent of this node or null if it is the root of the tree or the parent relationship is not supported.

class Node
getParent
()

Meta