public class FunctionInvocation extends Expression
Represents a function call.
| Constructor and Description |
|---|
FunctionInvocation(String functionName,
List argumentList)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
bindFunctions(FunctionMapper functions)
Returns an expression with all
FunctionInvocations replaced by
BoundFunctionInvocations. |
Object |
evaluate(VariableResolver pResolver,
FunctionMapper functions)
Evaluates by looking up the name in the VariableResolver
|
List |
getArgumentList() |
String |
getExpressionString()
Returns the expression in the expression language syntax
|
String |
getFunctionName() |
protected Method |
resolveFunction(FunctionMapper functions)
Returns the
Method which is mapped to the function
name used by this FunctionInvocation. |
void |
setArgumentList(List l) |
void |
setFunctionName(String f) |
public FunctionInvocation(String functionName, List argumentList)
public String getFunctionName()
public void setFunctionName(String f)
public List getArgumentList()
public void setArgumentList(List l)
public String getExpressionString()
getExpressionString in class Expressionpublic Object evaluate(VariableResolver pResolver, FunctionMapper functions) throws ELException
evaluate in class ExpressionELExceptionprotected Method resolveFunction(FunctionMapper functions) throws ELException
Method which is mapped to the function
name used by this FunctionInvocation.functions - The function mappings in use for this evaluationMethod to executeELExceptionpublic Expression bindFunctions(FunctionMapper functions) throws ELException
ExpressionFunctionInvocations replaced by
BoundFunctionInvocations.bindFunctions in class Expressionfunctions - the functions to use in this transformationFunctionInvocations replaced by
BoundFunctionInvocations.ELException - if any of the functions in this Expression are
not present in functionsCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.