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. | 
| protected void | reportWrongNumberArgs()Constructs and throws a WrongNumberArgException with the appropriate
 message for this function object. | 
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, isSameClass, 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.WrongNumberArgsExceptionprotected void reportWrongNumberArgs()
                              throws WrongNumberArgsException
reportWrongNumberArgs in class Function3ArgsWrongNumberArgsExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.