Package org.exolab.adaptx.xpath
XPath API
- Version:
- $Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
- Author:
- Keith Visco
- Author:
- Assaf Arkin
Expressions And Results
An XPath expression is compiled using the XPath parser. To obtain a new parser instance
use the static method
invalid reference
newInstance
invalid reference
createExpression
invalid reference
com.intalio.n3.xpath.XPathExpression
invalid reference
evaluate
An XPath result is represented by the abstract class
invalid reference
com.intalio.n3.xpath.XPathResult
- A boolean result of type
invalid reference
com.intalio.n3.xpath.XPathResult#BOOLEAN
invalid reference
com.intalio.n3.xpath.BooleanResult
- A string result of type
invalid reference
com.intalio.n3.xpath.XPathResult#STRING
invalid reference
com.intalio.n3.xpath.StringResult
- A number result of type
invalid reference
com.intalio.n3.xpath.XPathResult#NUMBER
invalid reference
com.intalio.n3.xpath.NumberResult
- A node-set result of type
invalid reference
com.intalio.n3.xpath.XPathResult#NODE_SET
invalid reference
com.intalio.n3.xpath.NodeSet
XPath Context
In order to evaluate an XPath expression, an XPath context is required. An XPath context
provides a way to manage a stock of node-sets, resolve variable and function names, and
return the size and position of the context.
invalid reference
com.intalio.n3.xpath.XPathContext
Impelementations may wish to extend this class and provide additional facilities
for locating the document order of a node, or providing a function library.
invalid reference
com.intalio.n3.xpath.Variables
invalid reference
com.intalio.n3.xpath.XPathFunction
XPath Node
invalid reference
com.intalio.n3.xpath.XPathNode
-
ClassDescriptionRepresents a boolean result.A class for holding onto state information for extension function calls, such as the funciton parameters.Represents a node-set.Represents a number result.A class for representing function parameters.Represents a string result.An abstract class which allows the use of variables when evaluating XPath expressions.An implementation of VariableSet which is used to provide variable bindings that can be used when evaluating an XPath expression.Base implementation of an XPath context.Indicates an error occured while evaluating an XPath expression.Interface representing an XPath expression.Abstract class representing an XPath function.Abstract class representing a node in a document tree, on which XPath expressions can be evaluated.The XPath parser.Abstract class representing the result of an XPath expression.