org.apache.batik.dom
protected class AbstractDocument.XPathExpr extends Object implements XPathExpression
| Nested Class Summary | |
|---|---|
| protected class | AbstractDocument.XPathExpr.NSPrefixResolver
Xalan prefix resolver. |
| class | AbstractDocument.XPathExpr.Result
XPathResult implementation.
|
| Field Summary | |
|---|---|
| protected XPathContext | context
The XPathContext object. |
| protected AbstractDocument.XPathExpr.NSPrefixResolver | prefixResolver
The Xalan prefix resolver. |
| protected XPathNSResolver | resolver
The namespace resolver. |
| protected XPath | xpath
The compiled XPath expression. |
| Constructor Summary | |
|---|---|
| XPathExpr(String expr, XPathNSResolver res)
Creates a new XPathExpr object. | |
| Method Summary | |
|---|---|
| protected AbstractDocument.XPathExpr.Result | convertBoolean(XObject xo)
Converts an XObject to a boolean XPathResult. |
| protected AbstractDocument.XPathExpr.Result | convertNodeIterator(XObject xo, short type)
Converts an XObject to a node iterator XPathResult. |
| protected AbstractDocument.XPathExpr.Result | convertNumber(XObject xo)
Converts an XObject to a number XPathResult. |
| protected AbstractDocument.XPathExpr.Result | convertSingleNode(XObject xo, short type)
Converts an XObject to a single node XPathResult. |
| protected AbstractDocument.XPathExpr.Result | convertString(XObject xo)
Converts an XObject to a string XPathResult. |
| Object | evaluate(Node contextNode, short type, Object res)
DOM: Implements
org.w3c.dom.xpath.XPathExpression#evaluate(Node,short,Object). |