org.apache.xpath.functions
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, setArg
getArg1
getArg0, getExpression, setExpression
callVisitors, postCompileStep
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstr
public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
public void checkNumberArgs(int argNum) throws WrongNumberArgsException
checkNumberArgs
in class Function3Args
argNum
- The number of arguments that is being passed to the function.WrongNumberArgsException
Copyright ? 2006 Apache XML Project. All Rights Reserved.