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() |
isParametersProvided, isParmetersProvided
public MethodExpressionValueExpressionAdapter(ValueExpression valueExpression)
public Object invoke(ELContext context, Object[] params)
invoke
in class MethodExpression
public MethodInfo getMethodInfo(ELContext context)
getMethodInfo
in class MethodExpression
public boolean isLiteralText()
isLiteralText
in class Expression
public int hashCode()
hashCode
in class Expression
public String getExpressionString()
getExpressionString
in class Expression
public boolean equals(Object obj)
equals
in class Expression
public ValueExpression getValueExpression()
Copyright © 2012–2020 OmniFaces. All rights reserved.