The JDOM 1.x API uses the XPath class as the entire API interface. This has been deprecated, and replaced with XPathFactory, XPathCompiled, and XPathBuilder.
Please see the web page for the details on the JDOM2 XPath API change.
The XPathHelper class provides static methods to create XPath queries that identify specific JDOM nodes.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | XPathDiagnostic<
The generic type of the results retruend by the expression. T>Class representing the results of an XPath query allowing JDOM users to trace
whether an item returned from an XPath query is subsequently filtered by the
coercion filter attached to the |
| public interface | XPathExpression<
The generic type of the results of the XPath query after being
processed by the JDOM T>Filter<T>XPathExpression is a representation of a compiled XPath query and any Namespace or variable references the query may require. |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | XPath
Deprecated
Use XPathFactory/XPathExpression/XPathBuilder instead.
A utility class for performing XPath calls on JDOM nodes, with a factory
interface for obtaining a first XPath instance.
|
| public class | XPathBuilder<
The generic type of the returned results. T>A helper class for creating |
| public abstract class | XPathFactory
XPathFactory allows JDOM users to configure which XPath implementation to use when evaluating XPath expressions. |
| public class | XPathHelper
Provides a set of utility methods to generate XPath expressions to select a given node in a document. |