Class XNodePathBuilder
java.lang.Object
eu.europa.ec.taxud.validation.reader.XNodePathBuilder
- All Implemented Interfaces:
XPathBuilderIntf
XNodePathBuilder is an XML XPath builder to calculate and store Node xpath.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()Return the current Xpath.voidMove one step backward in the pathNode treevoidmoveForward(String localName) Creates a pathNode with the given name and moves forward to the newly created pathNodetoString()
-
Constructor Details
-
XNodePathBuilder
public XNodePathBuilder()
-
-
Method Details
-
moveForward
Creates a pathNode with the given name and moves forward to the newly created pathNode- Specified by:
moveForwardin interfaceXPathBuilderIntf- Parameters:
localName- the local name
-
getPath
Return the current Xpath.- Specified by:
getPathin interfaceXPathBuilderIntf- Returns:
- String the current Xpath.
-
moveBackward
public void moveBackward()Move one step backward in the pathNode tree- Specified by:
moveBackwardin interfaceXPathBuilderIntf
-
toString
-