public class FuncSubstring extends Function3Args
| Constructor and Description |
|---|
FuncSubstring() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkNumberArgs(int argNum)
Check that the number of arguments passed to this function is correct.
|
XObject |
execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
protected void |
reportWrongNumberArgs()
Constructs and throws a WrongNumberArgException with the appropriate message for this function
object.
|
callArgVisitors, canTraverseOutsideSubtree, deepEquals, setArgcallVisitors, postCompileStepasIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, numpublic XObject execute(XPathContext xctxt) throws TransformerException
execute in class Functionxctxt - The XPath runtime context.XObject.TransformerException - if a runtime exception occurs.public void checkNumberArgs(int argNum)
throws WrongNumberArgsException
checkNumberArgs in class Function3ArgsargNum - The number of arguments that is being passed to the function.WrongNumberArgsException - if anyprotected void reportWrongNumberArgs()
throws WrongNumberArgsException
reportWrongNumberArgs in class Function3ArgsWrongNumberArgsException - if anyCopyright © 2022. All rights reserved.