Class AbstractDocument.XPathExpr
java.lang.Object
org.apache.batik.dom.AbstractDocument.XPathExpr
- All Implemented Interfaces:
XPathExpression
- Enclosing class:
AbstractDocument
A compiled XPath expression.
- Version:
- $Id$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classXalan prefix resolver.classXPathResult implementation. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe Xalan prefix resolver.protected XPathNSResolverThe namespace resolver.protected XPathExpressionThe compiled XPath expression. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
xpath
The compiled XPath expression. -
resolver
The namespace resolver. -
prefixResolver
The Xalan prefix resolver.
-
-
Constructor Details
-
XPathExpr
Creates a new XPathExpr object.- Throws:
DOMExceptionXPathException
-
-
Method Details
-
evaluate
public Object evaluate(Node contextNode, short type, Object res) throws XPathException, DOMException DOM: ImplementsXPathExpression.evaluate(Node,short,Object).- Specified by:
evaluatein interfaceXPathExpression- Throws:
XPathExceptionDOMException
-