|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
String |
toString(org.w3c.dom.Node n)
Get the value of a node as a string. |
Method Detail |
public org.w3c.dom.Node getContextNode()
public org.w3c.dom.traversal.NodeIterator getContextNodes()
public javax.xml.transform.ErrorListener getErrorListener()
public double toNumber(org.w3c.dom.Node n)
n
- Node to be converted to a number. May be null.
public String toString(org.w3c.dom.Node n)
n
- Node to be converted to a string. May be null.
public XObject getVariableOrParam(QName qname) throws javax.xml.transform.TransformerException
qname
- The qualified name of the variable.
javax.xml.transform.TransformerException
public 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 |