Package org.apache.batik.dom
Class AbstractDocument.XPathExpr
java.lang.Object
org.apache.batik.dom.AbstractDocument.XPathExpr
- All Implemented Interfaces:
org.w3c.dom.xpath.XPathExpression
- Enclosing class:
- AbstractDocument
protected class AbstractDocument.XPathExpr
extends Object
implements org.w3c.dom.xpath.XPathExpression
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 org.w3c.dom.xpath.XPathNSResolver
The namespace resolver.protected XPathExpression
The compiled XPath expression. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
xpath
The compiled XPath expression. -
resolver
protected org.w3c.dom.xpath.XPathNSResolver resolverThe namespace resolver. -
prefixResolver
The Xalan prefix resolver.
-
-
Constructor Details
-
XPathExpr
public XPathExpr(String expr, org.w3c.dom.xpath.XPathNSResolver res) throws DOMException, org.w3c.dom.xpath.XPathException Creates a new XPathExpr object.- Throws:
DOMException
org.w3c.dom.xpath.XPathException
-
-
Method Details
-
evaluate
public Object evaluate(Node contextNode, short type, Object res) throws org.w3c.dom.xpath.XPathException, DOMException DOM: ImplementsXPathExpression.evaluate(Node,short,Object)
.- Specified by:
evaluate
in interfaceorg.w3c.dom.xpath.XPathExpression
- Throws:
org.w3c.dom.xpath.XPathException
DOMException
-