|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.inria.ketuk.XPathUtil
Utilities to manipulate XPaths
Constructor Summary | |
XPathUtil()
|
Method Summary | |
static java.lang.String |
computeXPath(org.w3c.dom.Node base,
org.w3c.dom.Node sourceNode)
Computes an unambiguous XPath allowing to reach sourceNode from the specified baseNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPathUtil()
Method Detail |
public static java.lang.String computeXPath(org.w3c.dom.Node base, org.w3c.dom.Node sourceNode)
if baseNode equals null, then the root of the DOM tree is used
base
- the base of the XPAthsourceNode
- the node that has to be pointed by the XPath
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |