Java javax.xml.xpath XPath fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.xpath XPath fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.xpath XPath.

The text is from its open source code.

Method

XPathExpressioncompile(String expression)
Compile an XPath expression for later evaluation.
Stringevaluate(String expression, Object item)
Evaluate an XPath expression in the specified context and return the result as a String .
Stringevaluate(String expression, InputSource source)
Evaluate an XPath expression in the context of the specified InputSource and return the result as a String .
Objectevaluate(String expression, Object item, QName returnType)
Evaluate an XPath expression in the specified context and return the result as the specified type.
Objectevaluate(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.
ClassgetClass()
Returns the runtime class of this Object .
NamespaceContextgetNamespaceContext()
Return the current namespace context.
XPathFunctionResolvergetXPathFunctionResolver()
Return the current function resolver.
voidreset()
Reset this XPath to its original configuration.
voidsetNamespaceContext(NamespaceContext nsContext)
Establish a namespace context.
voidsetXPathFunctionResolver(XPathFunctionResolver resolver)
Establish a function resolver.
voidsetXPathVariableResolver(XPathVariableResolver resolver)
Establish a variable resolver.