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 the function.
|
callArgVisitors, canTraverseOutsideSubtree, deepEquals, fixupVariables, getArg2, setArggetArg1getArg0, getExpression, setExpressioncallVisitors, postCompileStepasIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstrpublic XObject execute(XPathContext xctxt) throws TransformerException
execute in class Functionxctxt - The current execution context.TransformerExceptionpublic void checkNumberArgs(int argNum)
throws WrongNumberArgsException
checkNumberArgs in class Function3ArgsargNum - The number of arguments that is being passed to the function.WrongNumberArgsExceptionCopyright © 2014 Apache XML Project. All Rights Reserved.