Public interfaces for XPath expression Abstract Syntax Tree nodes. Primary external APIs for this XPath AST model.

The XPath API is a compact set of Java interfaces that allow in-memory representation and manipulation of XPath 2.0 expressions.The main idea of this API is to manipulate XPath expressions independently of their actual underlying representation (since most of XPath processors use different representations for optimization purpose).

It was designed to fulfill the following requirements:

The XPath API by itself do not define how to bind expressions with an XPath processor. However, this can easily be done using the XPath invocation API defined in JSR 206 and using the round-trip feature of this API.

The starting point to handle XPath expressions is the class Expr. Enjoy!