public class MethodExpressionValueExpressionAdapter extends MethodExpression
With this wrapper a value expression can be used where a method expression is expected. The return value of the method execution will be the value represented by the value expression.
| Constructor and Description |
|---|
MethodExpressionValueExpressionAdapter(ValueExpression valueExpression) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getExpressionString() |
MethodInfo |
getMethodInfo(ELContext context) |
ValueExpression |
getValueExpression() |
int |
hashCode() |
Object |
invoke(ELContext context,
Object[] params) |
boolean |
isLiteralText() |
isParmetersProvidedpublic MethodExpressionValueExpressionAdapter(ValueExpression valueExpression)
public Object invoke(ELContext context, Object[] params)
invoke in class MethodExpressionpublic MethodInfo getMethodInfo(ELContext context)
getMethodInfo in class MethodExpressionpublic boolean isLiteralText()
isLiteralText in class Expressionpublic int hashCode()
hashCode in class Expressionpublic String getExpressionString()
getExpressionString in class Expressionpublic boolean equals(Object obj)
equals in class Expressionpublic ValueExpression getValueExpression()