Example usage for Java javax.xml.xpath XPath fields, constructors, methods, implement or subclass
The text is from its open source code.
XPathExpression | compile(String expression) Compile an XPath expression for later evaluation. |
String | evaluate(String expression, Object item) Evaluate an XPath expression in the specified context and return the result as a String . |
String | evaluate(String expression, InputSource source) Evaluate an XPath expression in the context of the specified InputSource and return the result as a String . |
Object | evaluate(String expression, Object item, QName returnType) Evaluate an XPath expression in the specified context and return the result as the specified type. |
Object | evaluate(String expression, InputSource source, QName returnType) Evaluate an XPath expression in the context of the specified InputSource and return the result as the specified type. |
Class> | getClass() Returns the runtime class of this Object . |
NamespaceContext | getNamespaceContext() Return the current namespace context. |
XPathFunctionResolver | getXPathFunctionResolver() Return the current function resolver. |
void | reset() Reset this XPath to its original configuration. |
void | setNamespaceContext(NamespaceContext nsContext) Establish a namespace context. |
void | setXPathFunctionResolver(XPathFunctionResolver resolver) Establish a function resolver. |
void | setXPathVariableResolver(XPathVariableResolver resolver) Establish a variable resolver. |