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(javax.servlet.jsp.el.FunctionMapper functions)
Returns an expression with all
FunctionInvocations replaced by
BoundFunctionInvocations. |
Object |
evaluate(javax.servlet.jsp.el.VariableResolver pResolver,
javax.servlet.jsp.el.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(javax.servlet.jsp.el.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 String getFunctionName()
public void setFunctionName(String f)
public List getArgumentList()
public void setArgumentList(List l)
public String getExpressionString()
getExpressionString in class Expressionpublic Object evaluate(javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions) throws javax.servlet.jsp.el.ELException
evaluate in class Expressionjavax.servlet.jsp.el.ELExceptionprotected Method resolveFunction(javax.servlet.jsp.el.FunctionMapper functions) throws javax.servlet.jsp.el.ELException
Method which is mapped to the function
name used by this FunctionInvocation.functions - The function mappings in use for this evaluationMethod to executejavax.servlet.jsp.el.ELExceptionpublic Expression bindFunctions(javax.servlet.jsp.el.FunctionMapper functions) throws javax.servlet.jsp.el.ELException
ExpressionFunctionInvocations replaced by
BoundFunctionInvocations.bindFunctions in class Expressionfunctions - the functions to use in this transformationFunctionInvocations replaced by
BoundFunctionInvocations.javax.servlet.jsp.el.ELException - if any of the functions in this Expression are
not present in functionsCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.