org.apache.xpath.functions
public class FuncPosition extends Function
UNKNOWN: advanced
| Method Summary | |
|---|---|
| XObject | execute(XPathContext xctxt)
Execute the function. |
| void | fixupVariables(Vector vars, int globalsSize)
No arguments to process, so this does nothing. |
| int | getPositionInContextNodeList(XPathContext xctxt)
Get the position in the current context node list.
|
| void | postCompileStep(Compiler compiler)
Figure out if we're executing a toplevel expression.
|
Parameters: xctxt The current execution context.
Returns: A valid XObject.
Throws: javax.xml.transform.TransformerException
Parameters: xctxt Runtime XPath context.
Returns: The current position of the itteration in the context node list, or -1 if there is no active context node list.