Package net.sf.saxon.sxpath

This package provides an alternative API for executing XPath expressions directly from a Java application: unlike the API in package net.sf.saxon.xpath, these interfaces are not dependent on JAXP 1.3.

See:
          Description

Interface Summary
XPathStaticContext This interface defines methods that must be provided when Saxon's free-standing XPath API is used.
 

Class Summary
AbstractStaticContext An abstract and configurable implementation of the StaticContext interface, which defines the static context of an XPath expression.
DedicatedStaticContext  
IndependentContext An IndependentContext provides a context for parsing an XPath expression appearing in a context other than a stylesheet.
SimpleContainer A simple container for standalone XPath expressions
XPathDynamicContext This object represents the dynamic XPath execution context for use in the free-standing Saxon XPath API.
XPathEvaluator This class provides a native Saxon API for free-standing evaluation of XPath expressions.
XPathExpression This class is a representation of an XPath Expression for use with the XPathEvaluator class.
XPathVariable An object representing an XPath variable for use in the standalone XPath API.
 

Package net.sf.saxon.sxpath Description

This package provides an alternative API for executing XPath expressions directly from a Java application: unlike the API in package net.sf.saxon.xpath, these interfaces are not dependent on JAXP 1.3. The API can be used either in a free-standing Java application (that is, where there is no XSLT stylesheet), or it can be used from within Java extension functions called from XPath expressions within a stylesheet.

The preferred API for executing XPath expressions in Saxon is the s9api package. This package is older, and provides a lower-level interface that offers access to more internal details, but is not so convenient to use.

Michael H. Kay
Saxonica Limited
12 June 2009



Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.