|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExpressionContext
An object that implements this interface can supply information about the current XPath expression context.
Method Summary | |
---|---|
org.w3c.dom.Node |
getContextNode()
Get the current context node. |
org.w3c.dom.traversal.NodeIterator |
getContextNodes()
Get the current context node list. |
javax.xml.transform.ErrorListener |
getErrorListener()
Get the error listener. |
XObject |
getVariableOrParam(QName qname)
Get a variable based on it's qualified name. |
XPathContext |
getXPathContext()
Get the XPathContext that owns this ExpressionContext. |
double |
toNumber(org.w3c.dom.Node n)
Get the value of a node as a number. |
java.lang.String |
toString(org.w3c.dom.Node n)
Get the value of a node as a string. |
Method Detail |
---|
org.w3c.dom.Node getContextNode()
org.w3c.dom.traversal.NodeIterator getContextNodes()
javax.xml.transform.ErrorListener getErrorListener()
double toNumber(org.w3c.dom.Node n)
n
- Node to be converted to a number. May be null.
java.lang.String toString(org.w3c.dom.Node n)
n
- Node to be converted to a string. May be null.
XObject getVariableOrParam(QName qname) throws javax.xml.transform.TransformerException
qname
- The qualified name of the variable.
javax.xml.transform.TransformerException
XPathContext getXPathContext() 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 |