public class FuncConcat extends FunctionMultiArgs
Constructor and Description |
---|
FuncConcat() |
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, getArgs, setArg
getArg2
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, isSameClass, isStableNumber, num, warn, xstr
public XObject execute(XPathContext xctxt) throws TransformerException
execute
in class Function
xctxt
- The current execution context.TransformerException
public void checkNumberArgs(int argNum) throws WrongNumberArgsException
checkNumberArgs
in class FunctionMultiArgs
argNum
- The number of arguments that is being passed to the function.WrongNumberArgsException
protected void reportWrongNumberArgs() throws WrongNumberArgsException
reportWrongNumberArgs
in class FunctionMultiArgs
WrongNumberArgsException
Copyright © 2016 JBoss by Red Hat. All rights reserved.