org.apache.xpath
public class XPathContext.XPathExpressionContext extends Object implements ExpressionContext
Method Summary | |
---|---|
Node | getContextNode()
Get the current context node. |
NodeIterator | getContextNodes()
Get the current context node list. |
DTMManager | getDTMManager()
Return the DTMManager object. |
ErrorListener | getErrorListener()
Get the error listener. |
XObject | getVariableOrParam(QName qname)
Get a variable based on it's qualified name. |
XPathContext | getXPathContext()
Return the XPathContext associated with this XPathExpressionContext.
|
double | toNumber(Node n)
Get the value of a node as a number. |
String | toString(Node n)
Get the value of a node as a string. |
Returns: The current context node.
Returns: An iterator for the current context list, as defined in XSLT.
Returns: The registered error listener.
Parameters: qname The qualified name of the variable.
Returns: The evaluated value of the variable.
Throws: javax.xml.transform.TransformerException
Returns: the XPathContext associated with this XPathExpressionContext.
Parameters: n Node to be converted to a number. May be null.
Returns: value of n as a number.
Parameters: n Node to be converted to a string. May be null.
Returns: value of n as a string, or an empty string if n is null.