Uses of Class
javax.xml.xpath.XPathExpressionException
| Package | Description |
|---|---|
| javax.xml.xpath |
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
Subclasses of XPathExpressionException in javax.xml.xpath Modifier and Type Class Description classXPathFunctionExceptionXPathFunctionExceptionrepresents an error with an XPath function.Methods in javax.xml.xpath that throw XPathExpressionException Modifier and Type Method Description XPathExpressionXPath. compile(String expression)Compile an XPath expression for later evaluation.StringXPath. evaluate(String expression, Object item)Evaluate an XPath expression in the specified context and return the result as aString.ObjectXPath. evaluate(String expression, Object item, QName returnType)Evaluate anXPathexpression in the specified context and return the result as the specified type.StringXPath. evaluate(String expression, InputSource source)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as aString.ObjectXPath. evaluate(String expression, InputSource source, QName returnType)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as the specified type.StringXPathExpression. evaluate(Object item)Evaluate the compiled XPath expression in the specified context and return the result as aString.ObjectXPathExpression. evaluate(Object item, QName returnType)Evaluate the compiled XPath expression in the specified context and return the result as the specified type.StringXPathExpression. evaluate(InputSource source)Evaluate the compiled XPath expression in the context of the specifiedInputSourceand return the result as aString.ObjectXPathExpression. evaluate(InputSource source, QName returnType)Evaluate the compiled XPath expression in the context of the specifiedInputSourceand 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> TXPath. 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 typedefault XPathEvaluationResult<?>XPath. evaluateExpression(String expression, InputSource source)Evaluate an XPath expression in the specified context.default <T> TXPath. evaluateExpression(String expression, InputSource source, Class<T> type)Evaluate an XPath expression in the context of the specifiedsourceand return the result as specified.default XPathEvaluationResult<?>XPathExpression. evaluateExpression(Object item)Evaluate the compiled XPath expression in the specified context.default <T> TXPathExpression. 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> TXPathExpression. 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