Name
Package javax.xml.xpath
Synopsis
This package defines types for the evaluation of XPath expressions in the context of an XML document. XPath is a language for describing a “path” to a node or set of nodes within an XML document. Details of the XPath grammar are beyond the scope of this reference.
A typical use of this package begins with the
XPathFactory
, an instance of which is used to
create an XPath
object. After configuring the
XPath
object as desired, you can use it to
evaluate XPath expressions directly or to compile XPath expressions
into XPathExpression
objects for later use.
Interfaces
public interface XPath; public interface XPathExpression; public interface XPathFunction; public interface XPathFunctionResolver; public interface XPathVariableResolver;
Classes
public class XPathConstants; public abstract class XPathFactory;
Exceptions
public class XPathException extends Exception; public class XPathExpressionException extends XPathException; public class XPathFunctionException extends XPathExpressionException; public class XPathFactoryConfigurationException extends XPathException;
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.