public interface ExpressionContext
Modifier and Type | Method and Description |
---|---|
Node |
getContextNode()
Get the current context node.
|
org.w3c.dom.traversal.NodeIterator |
getContextNodes()
Get the current context node list.
|
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(Node n)
Get the value of a node as a number.
|
String |
toString(Node n)
Get the value of a node as a string.
|
Node getContextNode()
org.w3c.dom.traversal.NodeIterator getContextNodes()
ErrorListener getErrorListener()
double toNumber(Node n)
n
- Node to be converted to a number. May be null.String toString(Node n)
n
- Node to be converted to a string. May be null.XObject getVariableOrParam(QName qname) throws TransformerException
qname
- The qualified name of the variable.TransformerException
XPathContext getXPathContext() throws TransformerException
TransformerException
Copyright © 2017 JBoss by Red Hat. All rights reserved.