|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xpath.Expression | +--org.apache.xpath.functions.Function | +--org.apache.xpath.functions.FuncPosition
**For advanced use only** Execute the Position() function.
Constructor Summary | |
FuncPosition()
|
Method Summary | |
XObject |
execute(XPathContext xctxt)
Execute the function. |
int |
getPositionInContextNodeList(XPathContext xctxt)
Get the position in the current context node list. |
Methods inherited from class org.apache.xpath.functions.Function |
checkNumberArgs,
setArg |
Methods inherited from class org.apache.xpath.Expression |
assert,
canTraverseOutsideSubtree,
error,
setSourceLocator,
warn |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FuncPosition()
Method Detail |
public int getPositionInContextNodeList(XPathContext xctxt)
xctxt
- Runtime XPath context.public XObject execute(XPathContext xctxt) throws TransformerException
xctxt
- The current execution context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |