Uses of Class javax.xml.xpath.XPathExpressionException (Java Platform SE 8 )
Date: 2016-07-28

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

- Packages that use XPathExpressionException
  Package | Description
  --- | ---
  javax.xml.xpath | This package 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 and Description
    --- | ---
    `class` | `XPathFunctionException` `XPathFunctionException` represents an error with an XPath function.

    Methods in javax.xml.xpath that throw XPathExpressionException
    Modifier and Type | Method and Description
    --- | ---
    `XPathExpression` | XPath.`compile(String expression)` Compile an XPath expression for later evaluation.
    `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.
    `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` | 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` | 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.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.