| 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. | 
| Class and Description | 
|---|
| XPath XPathprovides access to the XPath evaluation environment and expressions. | 
| XPathException XPathExceptionrepresents a generic XPath exception. | 
| XPathExpression XPathExpressionprovides access to compiled XPath expressions. | 
| XPathExpressionException XPathExpressionExceptionrepresents an error in an XPath expression. | 
| XPathFactory An  XPathFactoryinstance can be used to createXPathobjects. | 
| XPathFactoryConfigurationException XPathFactoryConfigurationExceptionrepresents a configuration error in aXPathFactoryenvironment. | 
| XPathFunction XPathFunctionprovides access to XPath functions. | 
| XPathFunctionException XPathFunctionExceptionrepresents an error with an XPath function. | 
| XPathFunctionResolver XPathFunctionResolverprovides access to the set of user definedXPathFunctions. | 
| XPathVariableResolver XPathVariableResolverprovides access to the set of user defined XPath variables. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.