|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.el.Expression
org.apache.commons.el.FunctionInvocation
public class FunctionInvocation
Represents a function call.
Constructor Summary | |
---|---|
FunctionInvocation(String functionName,
List argumentList)
Constructor |
Method Summary | |
---|---|
Expression |
bindFunctions(javax.servlet.jsp.el.FunctionMapper functions)
Returns an expression with all FunctionInvocation s replaced by
BoundFunctionInvocation s. |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionInvocation(String functionName, List argumentList)
Method Detail |
---|
public String getFunctionName()
public void setFunctionName(String f)
public List getArgumentList()
public void setArgumentList(List l)
public String getExpressionString()
getExpressionString
in class Expression
public Object evaluate(javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions) throws javax.servlet.jsp.el.ELException
evaluate
in class Expression
javax.servlet.jsp.el.ELException
protected 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 evaluation
Method
to execute
javax.servlet.jsp.el.ELException
public Expression bindFunctions(javax.servlet.jsp.el.FunctionMapper functions) throws javax.servlet.jsp.el.ELException
Expression
FunctionInvocation
s replaced by
BoundFunctionInvocation
s.
bindFunctions
in class Expression
functions
- the functions to use in this transformation
FunctionInvocation
s replaced by
BoundFunctionInvocation
s.
javax.servlet.jsp.el.ELException
- if any of the functions in this Expression
are
not present in functions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |