Uses of Class
javax.xml.xpath.XPathExpressionException
Package
Description
Provides an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment.
-
Uses of XPathExpressionException in javax.xml.xpath
Modifier and TypeClassDescriptionclass
XPathFunctionException
represents an error with an XPath function.Modifier and TypeMethodDescriptionCompile an XPath expression for later evaluation.Evaluate an XPath expression in the specified context and return the result as aString
.Evaluate anXPath
expression in the specified context and return the result as the specified type.XPath.evaluate(String expression, InputSource source)
Evaluate an XPath expression in the context of the specifiedInputSource
and return the result as aString
.XPath.evaluate(String expression, InputSource source, QName returnType)
Evaluate an XPath expression in the context of the specifiedInputSource
and return the result as the specified type.Evaluate the compiled XPath expression in the specified context and return the result as aString
.Evaluate the compiled XPath expression in the specified context and return the result as the specified type.XPathExpression.evaluate(InputSource source)
Evaluate the compiled XPath expression in the context of the specifiedInputSource
and return the result as aString
.XPathExpression.evaluate(InputSource source, QName returnType)
Evaluate the compiled XPath expression in the context of the specifiedInputSource
and return the result as the specified type.default XPathEvaluationResult<?>
XPath.evaluateExpression(String expression, Object item)
Evaluate an XPath expression in the specified context.default <T> T
XPath.evaluateExpression(String expression, Object item, Class<T> type)
Evaluate an XPath expression in the specified context and return the result with the type specified through theclass type
default XPathEvaluationResult<?>
XPath.evaluateExpression(String expression, InputSource source)
Evaluate an XPath expression in the specified context.default <T> T
XPath.evaluateExpression(String expression, InputSource source, Class<T> type)
Evaluate an XPath expression in the context of the specifiedsource
and return the result as specified.default XPathEvaluationResult<?>
XPathExpression.evaluateExpression(Object item)
Evaluate the compiled XPath expression in the specified context.default <T> T
XPathExpression.evaluateExpression(Object item, Class<T> type)
Evaluate the compiled XPath expression in the specified context, and return the result with the type specified through theclass type
.default XPathEvaluationResult<?>
XPathExpression.evaluateExpression(InputSource source)
Evaluate the compiled XPath expression in the specified context.default <T> T
XPathExpression.evaluateExpression(InputSource source, Class<T> type)
Evaluate the compiled XPath expression in the specified context, and return the result with the type specified through theclass type