org.cip4.jdflib.elementwalker
Class XPathWalker.XPathBuilder
java.lang.Object
org.cip4.jdflib.elementwalker.XPathWalker.XPathBuilder
- Enclosing class:
- XPathWalker
protected class XPathWalker.XPathBuilder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elem
protected KElement elem
methCountSiblings
protected int methCountSiblings
attributeNames
protected VString attributeNames
XPathWalker.XPathBuilder
public XPathWalker.XPathBuilder(KElement _e,
int countSiblings,
VString attName)
buildXPath
public String buildXPath(String relativeTo)
- Gets the XPath full tree representation of 'this'
- Parameters:
relativeTo - relative path to which to create an xpath
- Returns:
- String the XPath representation of 'this' e.g.
/root/parent/element
null if parent of this is null (e.g. called on rootnode)
Copyright © 2013. All Rights Reserved.