public class FuncLast extends Function
| Constructor and Description |
|---|
FuncLast() |
| Modifier and Type | Method and Description |
|---|---|
XObject |
execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
int |
getCountOfContextNodeList(XPathContext xctxt)
Get the position in the current context node list.
|
void |
postCompileStep(Compiler compiler)
This function is currently only being used by Position() and Last().
|
callArgVisitors, callVisitors, checkNumberArgs, deepEquals, reportWrongNumberArgs, setArgasIterator, asNode, assertion, bool, canTraverseOutsideSubtree, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, numpublic void postCompileStep(Compiler compiler)
postCompileStep in class Functionpublic int getCountOfContextNodeList(XPathContext xctxt) throws TransformerException
xctxt - non-null reference to XPath runtime context.TransformerException - in case of errorpublic XObject execute(XPathContext xctxt) throws TransformerException
execute in class Functionxctxt - The XPath runtime context.XObject.TransformerException - if a runtime exception occurs.Copyright © 2022. All rights reserved.