|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xml.xpath.Function
com.novell.xml.xpath.functions.xpathPosition
This class implements the XPath position() built-in function
| Constructor Summary | |
xpathPosition()
Construct an object for the position() function |
|
| Method Summary | |
ExpressionValue |
invoke(Object[] args)
Perform position() function |
NumberValue |
position(Node contextNode,
ExpressionContext context)
Perform position() function |
String |
toString()
Return function name. |
| Methods inherited from class com.novell.xml.xpath.Function |
getInstance, getSignature, isConstant, registerForReset |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public xpathPosition()
| Method Detail |
public ExpressionValue invoke(Object[] args)
throws XPathEvaluationException
invoke in class Functionargs - List of arguments.
First first argument must be the context node.
The second argument must be the expression context object
XPathEvaluationException
public NumberValue position(Node contextNode,
ExpressionContext context)
contextNode - Node whose position is desiredcontext - Context node listpublic String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||