public final class XPathUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<Object> |
getByXPath(DomNode node,
String xpathExpr,
org.apache.xml.utils.PrefixResolver resolver)
Evaluates an XPath expression from the specified node, returning the resultant nodes.
|
static boolean |
isProcessingXPath()
Returns whether the thread is currently evaluating XPath expression or no.
|
public static List<Object> getByXPath(DomNode node, String xpathExpr, org.apache.xml.utils.PrefixResolver resolver)
node
- the node to start searching fromxpathExpr
- the XPath expressionresolver
- the prefix resolver to use for resolving namespace prefixes, or nullpublic static boolean isProcessingXPath()
Copyright © 2002–2017 Gargoyle Software Inc.. All rights reserved.