Package org.apache.batik.dom
Class AbstractDocument.XPathExpr
java.lang.Object
org.apache.batik.dom.AbstractDocument.XPathExpr
- All Implemented Interfaces:
XPathExpression
- Enclosing class:
AbstractDocument
A compiled XPath expression.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
Xalan prefix resolver.class
XPathResult implementation. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe Xalan prefix resolver.protected XPathNSResolver
The namespace resolver.protected XPathExpression
The 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:
DOMException
XPathException
-
-
Method Details
-
evaluate
public Object evaluate(Node contextNode, short type, Object res) throws XPathException, DOMException DOM: ImplementsXPathExpression.evaluate(Node,short,Object)
.- Specified by:
evaluate
in interfaceXPathExpression
- Throws:
XPathException
DOMException
-