javax.xml.xpath
Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
XPath |
XPath provides access to the XPath evaluation environment and expressions.
|
XPathExpression |
XPathExpression provides access to compiled XPath expressions.
|
XPathFunction |
XPathFunction provides access to XPath functions.
|
XPathFunctionResolver |
XPathFunctionResolver provides access to the set of user defined XPathFunction s.
|
XPathVariableResolver |
XPathVariableResolver provides access to the set of user defined XPath variables.
|
Classes
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003eThe Java API for XML Processing (JAXP) provides interfaces and classes for evaluating XPath expressions on XML documents, including \u003ccode\u003eXPath\u003c/code\u003e, \u003ccode\u003eXPathExpression\u003c/code\u003e, \u003ccode\u003eXPathFunction\u003c/code\u003e, \u003ccode\u003eXPathFunctionResolver\u003c/code\u003e, and \u003ccode\u003eXPathVariableResolver\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eXPathFactory\u003c/code\u003e can be used to create \u003ccode\u003eXPath\u003c/code\u003e objects, which provide access to the XPath evaluation environment and expressions.\u003c/p\u003e\n"],["\u003cp\u003eSeveral exception classes such as \u003ccode\u003eXPathException\u003c/code\u003e, \u003ccode\u003eXPathExpressionException\u003c/code\u003e, \u003ccode\u003eXPathFactoryConfigurationException\u003c/code\u003e, and \u003ccode\u003eXPathFunctionException\u003c/code\u003e are defined to handle errors during XPath processing.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eXPathConstants\u003c/code\u003e defines constants that can be used in XPath expressions.\u003c/p\u003e\n"]]],[],null,["Interfaces \n\n|-------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| [XPath](../../../../reference/javax/xml/xpath/XPath.html) | `XPath` provides access to the XPath evaluation environment and expressions. |\n| [XPathExpression](../../../../reference/javax/xml/xpath/XPathExpression.html) | `XPathExpression` provides access to compiled XPath expressions. |\n| [XPathFunction](../../../../reference/javax/xml/xpath/XPathFunction.html) | `XPathFunction` provides access to XPath functions. |\n| [XPathFunctionResolver](../../../../reference/javax/xml/xpath/XPathFunctionResolver.html) | `XPathFunctionResolver` provides access to the set of user defined `XPathFunction`s. |\n| [XPathVariableResolver](../../../../reference/javax/xml/xpath/XPathVariableResolver.html) | `XPathVariableResolver` provides access to the set of user defined XPath variables. |\n\nClasses \n\n|-----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| [XPathConstants](../../../../reference/javax/xml/xpath/XPathConstants.html) | XPath constants. |\n| [XPathFactory](../../../../reference/javax/xml/xpath/XPathFactory.html) | An `XPathFactory` instance can be used to create [XPath](../../../../reference/javax/xml/xpath/XPath.html) objects. |\n\nExceptions \n\n|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|\n| [XPathException](../../../../reference/javax/xml/xpath/XPathException.html) | `XPathException` represents a generic XPath exception. |\n| [XPathExpressionException](../../../../reference/javax/xml/xpath/XPathExpressionException.html) | `XPathExpressionException` represents an error in an XPath expression. |\n| [XPathFactoryConfigurationException](../../../../reference/javax/xml/xpath/XPathFactoryConfigurationException.html) | `XPathFactoryConfigurationException` represents a configuration error in a `XPathFactory` environment. |\n| [XPathFunctionException](../../../../reference/javax/xml/xpath/XPathFunctionException.html) | `XPathFunctionException` represents an error with an XPath function. |"]]