|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.AbstractDocument.XPathExpr
protected class AbstractDocument.XPathExpr
A compiled XPath expression.
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 | |
---|---|
AbstractDocument.XPathExpr(java.lang.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. |
java.lang.Object |
evaluate(org.w3c.dom.Node contextNode,
short type,
java.lang.Object res)
DOM: Implements org.w3c.dom.xpath.XPathExpression#evaluate(Node,short,Object) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XPath xpath
protected XPathNSResolver resolver
protected AbstractDocument.XPathExpr.NSPrefixResolver prefixResolver
protected XPathContext context
Constructor Detail |
---|
public AbstractDocument.XPathExpr(java.lang.String expr, XPathNSResolver res) throws org.w3c.dom.DOMException, XPathException
org.w3c.dom.DOMException
XPathException
Method Detail |
---|
public java.lang.Object evaluate(org.w3c.dom.Node contextNode, short type, java.lang.Object res) throws XPathException, org.w3c.dom.DOMException
org.w3c.dom.xpath.XPathExpression#evaluate(Node,short,Object)
.
XPathException
org.w3c.dom.DOMException
protected AbstractDocument.XPathExpr.Result convertSingleNode(XObject xo, short type) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
protected AbstractDocument.XPathExpr.Result convertBoolean(XObject xo) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
protected AbstractDocument.XPathExpr.Result convertNumber(XObject xo) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
protected AbstractDocument.XPathExpr.Result convertString(XObject xo)
protected AbstractDocument.XPathExpr.Result convertNodeIterator(XObject xo, short type) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |