|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
StandaloneContext | A StandaloneContext provides a context for parsing an expression or pattern appearing in a context other than a stylesheet. |
Variable | An object representing an XPath variable for use in the standalone XPath API. |
XPathEvaluator | XPathEvaluator provides a simple API for standalone XPath processing (that is, executing XPath expressions in the absence of an XSLT stylesheet). |
XPathExpression | XPathExpression represents a compiled XPath expression that can be repeatedly evaluated. |
Exception Summary | |
DynamicError | Subclass of XPathException used for dynamic errors |
StaticError | Exception used for static errors in XPath, XSLT, or XQuery |
XPathException | XPathException is used to indicate an error in an XPath expression. |
XPathException.Circularity | Subclass used to report circularities |
This package provides an API for executing XPath expressions directly from a Java application. 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 API is loosely modelled on the draft W3C DOM Level 3 API for XPath. However, it does not implement the proposed DOM interfaces directly. The main differences are due to the need to support a richer set of result types in XPath 2.0 (the DOM API currently only supports XPath 1.0).
Michael H. Kay
25 April 2002
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |