Class PositionFunction
java.lang.Object
org.jaxen.function.PositionFunction
- All Implemented Interfaces:
Function
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PositionFunction
public PositionFunction()Create a newPositionFunctionobject.
-
-
Method Details
-
call
Returns the position of the context node in the context node-set.- Specified by:
callin interfaceFunction- Parameters:
context- the context at the point in the expression where the function is calledargs- an empty list- Returns:
- a
Doublecontaining the context position - Throws:
FunctionCallException- ifargsis not empty- See Also:
-
evaluate
-