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