public class XPathUtils extends Object
| Constructor and Description |
|---|
XPathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static XPathExpression |
compile(String expression) |
static NodeList |
evalToNodes(Node node,
String query) |
static String |
evalToString(Node node,
String query) |
static String |
evalToString(Node node,
String query,
boolean dummy)
This version doesn't throw an exception on error
|
static String |
evalToString(Node node,
XPathExpression expr) |
public static XPathExpression compile(String expression) throws Exception
Exceptionpublic static String evalToString(Node node, XPathExpression expr)
public static String evalToString(Node node, String query) throws XPathExpressionException
XPathExpressionExceptionpublic static String evalToString(Node node, String query, boolean dummy)
node - query - dummy - Copyright © 2013. All Rights Reserved.