## Uses of Class
javax.xml.xpath.XPathExpressionException

- Packages that use 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
    --- | --- | ---
    `class` | `XPathFunctionException` | `XPathFunctionException` represents an error with an XPath function.

    Methods in javax.xml.xpath that throw XPathExpressionException
    Modifier and Type | Method | Description
    --- | --- | ---
    `XPathExpression` | XPath.`compile​(String expression)` | Compile an XPath expression for later evaluation.
    `String` | XPath.`evaluate​(String expression, Object item)` | Evaluate an XPath expression in the specified context and return the result as a `String`.
    `Object` | XPath.`evaluate​(String expression, Object item, QName returnType)` | Evaluate an `XPath` expression in the specified context and return the result as the specified type.
    `String` | XPath.`evaluate​(String expression, InputSource source)` | Evaluate an XPath expression in the context of the specified `InputSource` and return the result as a `String`.
    `Object` | XPath.`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.
    `String` | XPathExpression.`evaluate​(Object item)` | Evaluate the compiled XPath expression in the specified context and return the result as a `String`.
    `Object` | XPathExpression.`evaluate​(Object item, QName returnType)` | Evaluate the compiled XPath expression in the specified context and return the result as the specified type.
    `String` | XPathExpression.`evaluate​(InputSource source)` | Evaluate the compiled XPath expression in the context of the specified `InputSource` and return the result as a `String`.
    `Object` | XPathExpression.`evaluate​(InputSource source, QName returnType)` | Evaluate the compiled XPath expression in the context of the specified `InputSource` 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 the `class 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 specified `source` 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 the `class 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 the `class type`