Class RootNode
java.lang.Object
eu.europa.ec.taxud.validation.reader.path.PathNode
eu.europa.ec.taxud.validation.reader.path.RootNode
RootNodeis the root node of the tree PathNode tree. The root node has no parent and its xpath is an empty
string-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAlways throwsUnsupportedOperationException.getPath()Gets path.Methods inherited from class eu.europa.ec.taxud.validation.reader.path.PathNode
addChild, getNodeName
-
Constructor Details
-
RootNode
public RootNode()Instantiates a new Root node.
-
-
Method Details
-
getPath
Description copied from class:PathNodeGets path. -
getParent
Always throwsUnsupportedOperationException. This method should not be called when the node is the root node. The root has not parent and this operation is not supported.- Overrides:
getParentin classPathNode- Returns:
- The parent node
- Throws:
UnsupportedOperationException- in case of exception
-