org.omnifaces.el
Class MethodExpressionValueExpressionAdapter
java.lang.Object
javax.el.Expression
javax.el.MethodExpression
org.omnifaces.el.MethodExpressionValueExpressionAdapter
- All Implemented Interfaces:
- java.io.Serializable
public class MethodExpressionValueExpressionAdapter
- extends javax.el.MethodExpression
This MethodExpression wraps a ValueExpression.
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.
- Author:
- Arjan Tijms
- See Also:
- Serialized Form
Methods inherited from class javax.el.MethodExpression |
isParmetersProvided |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MethodExpressionValueExpressionAdapter
public MethodExpressionValueExpressionAdapter(javax.el.ValueExpression valueExpression)
invoke
public java.lang.Object invoke(javax.el.ELContext context,
java.lang.Object[] params)
- Specified by:
invoke
in class javax.el.MethodExpression
getMethodInfo
public javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
- Specified by:
getMethodInfo
in class javax.el.MethodExpression
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralText
in class javax.el.Expression
hashCode
public int hashCode()
- Specified by:
hashCode
in class javax.el.Expression
getExpressionString
public java.lang.String getExpressionString()
- Specified by:
getExpressionString
in class javax.el.Expression
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in class javax.el.Expression
getValueExpression
public javax.el.ValueExpression getValueExpression()