Common classes that can be used across different XPath API implementations.

Package Specification

Package provides set of common classes that can be shared and reused across different XPath implementations. It implements several interfaces from XPath API definition ({@link org.xdv.xpath}). Specific XPath implementations may use them directly or simply extend them.

Example

A good example of how to use those classes is implementation built on the top of Jaxen (see {@link org.xdv.xpath.jaxen}). Jaxen maps XPath types to simple Java types, so the implementation uses directly classes listed bellow to wrap XPath values. Similar approach has been applied to implementation of {@link org.xdv.xpath.XPathVariableMap}. To made an implemenation for Jaxen, implementer simply extended {@link org.xdv.xpath.common.BaseXPathVariableMap} by one specific methods required for Jaxen (see {@link org.xdv.xpath.jaxen.JaxenXPathVariableMap}).

Related Documentation

For overviews please see: