Package org.jdom2.xpath


package org.jdom2.xpath
Support for XPath from within JDOM. XPath provides a common interface with a pluggable back-end. The default back end is Jaxen.

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.

  • Class
    Description
    Deprecated.
    Use XPathFactory/XPathExpression/XPathBuilder instead.
    A helper class for creating XPathExpression instances without having to manage your own Namespace and Variable contexts.
    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 XPathExpression;
    XPathExpression is a representation of a compiled XPath query and any Namespace or variable references the query may require.
    XPathFactory allows JDOM users to configure which XPath implementation to use when evaluating XPath expressions.
    Provides a set of utility methods to generate XPath expressions to select a given node in a document.