org.apache.commons.el
Class FunctionInvocation
java.lang.Object
org.apache.commons.el.Expression
org.apache.commons.el.FunctionInvocation
- public class FunctionInvocation
- extends Expression
Represents a function call.
- Author:
- Shawn Bayern (in the style of Nathan's other classes)
Field Summary |
private java.util.List |
argumentList
|
private java.lang.String |
functionName
|
private static org.apache.commons.logging.Log |
log
|
Constructor Summary |
FunctionInvocation(java.lang.String functionName,
java.util.List argumentList)
Constructor |
Method Summary |
java.lang.Object |
evaluate(javax.servlet.jsp.el.VariableResolver pResolver,
javax.servlet.jsp.el.FunctionMapper functions)
Evaluates by looking up the name in the VariableResolver |
java.util.List |
getArgumentList()
|
java.lang.String |
getExpressionString()
Returns the expression in the expression language syntax |
java.lang.String |
getFunctionName()
|
void |
setArgumentList(java.util.List l)
|
void |
setFunctionName(java.lang.String f)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
functionName
private java.lang.String functionName
argumentList
private java.util.List argumentList
FunctionInvocation
public FunctionInvocation(java.lang.String functionName,
java.util.List argumentList)
- Constructor
getFunctionName
public java.lang.String getFunctionName()
setFunctionName
public void setFunctionName(java.lang.String f)
getArgumentList
public java.util.List getArgumentList()
setArgumentList
public void setArgumentList(java.util.List l)
getExpressionString
public java.lang.String getExpressionString()
- Returns the expression in the expression language syntax
- Specified by:
getExpressionString
in class Expression
evaluate
public java.lang.Object evaluate(javax.servlet.jsp.el.VariableResolver pResolver,
javax.servlet.jsp.el.FunctionMapper functions)
throws javax.servlet.jsp.el.ELException
- Evaluates by looking up the name in the VariableResolver
- Specified by:
evaluate
in class Expression
- Throws:
javax.servlet.jsp.el.ELException
Copyright (c) 2001-2002 - Apache Software Foundation