public class XPathUtils extends Object
Constructor and Description |
---|
XPathUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getElementIdx(Node elt)
Returns the index of a node .
|
static String |
getElementXPath(Node elt)
Resolves the xpath of an element.
|
public static final String getElementXPath(Node elt) throws IOException
elt
- IOException
public static final int getElementIdx(Node elt)
elt
- Copyright © 2012 Nuxeo SA. All Rights Reserved.