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 java.lang.Object implements org.w3c.dom.xpath.XPathExpressionA compiled XPath expression.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classAbstractDocument.XPathExpr.NSPrefixResolverXalan prefix resolver.classAbstractDocument.XPathExpr.ResultXPathResult implementation.
-
Field Summary
Fields Modifier and Type Field Description protected AbstractDocument.XPathExpr.NSPrefixResolverprefixResolverThe Xalan prefix resolver.protected org.w3c.dom.xpath.XPathNSResolverresolverThe namespace resolver.protected javax.xml.xpath.XPathExpressionxpathThe compiled XPath expression.
-
Constructor Summary
Constructors Constructor Description XPathExpr(java.lang.String expr, org.w3c.dom.xpath.XPathNSResolver res)Creates a new XPathExpr object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectevaluate(org.w3c.dom.Node contextNode, short type, java.lang.Object res)DOM: ImplementsXPathExpression.evaluate(Node,short,Object).
-
-
-
Field Detail
-
xpath
protected javax.xml.xpath.XPathExpression xpath
The compiled XPath expression.
-
resolver
protected org.w3c.dom.xpath.XPathNSResolver resolver
The namespace resolver.
-
prefixResolver
protected AbstractDocument.XPathExpr.NSPrefixResolver prefixResolver
The Xalan prefix resolver.
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(org.w3c.dom.Node contextNode, short type, java.lang.Object res) throws org.w3c.dom.xpath.XPathException, org.w3c.dom.DOMExceptionDOM: ImplementsXPathExpression.evaluate(Node,short,Object).- Specified by:
evaluatein interfaceorg.w3c.dom.xpath.XPathExpression- Throws:
org.w3c.dom.xpath.XPathExceptionorg.w3c.dom.DOMException
-
-