XPathContext.XPathExpressionContext
public interface ExpressionContext
Modifier and Type | Method | Description |
---|---|---|
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.
|
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
Copyright ? 2014 Apache XML Project. All Rights Reserved.