org.omnifaces.el
Class ValueExpressionMethodWrapper

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.ValueExpression
          extended by org.omnifaces.el.ValueExpressionMethodWrapper
All Implemented Interfaces:
java.io.Serializable

public final class ValueExpressionMethodWrapper
extends javax.el.ValueExpression

Special purpose value expression that wraps a method expression for which a Method instance is created whenever the getValue method is called.

Since:
1.4
Author:
Arjan Tijms
See Also:
Serialized Form

Constructor Summary
ValueExpressionMethodWrapper(javax.el.MethodExpression methodExpression)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean equals(ValueExpressionMethodWrapper other)
           
 java.lang.Class<?> getExpectedType()
           
 java.lang.String getExpressionString()
           
 java.lang.Class<?> getType(javax.el.ELContext context)
           
 java.lang.Object getValue(javax.el.ELContext context)
           
 int hashCode()
           
 boolean isLiteralText()
           
 boolean isReadOnly(javax.el.ELContext context)
           
 void setValue(javax.el.ELContext context, java.lang.Object value)
           
 
Methods inherited from class javax.el.ValueExpression
getValueReference
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueExpressionMethodWrapper

public ValueExpressionMethodWrapper(javax.el.MethodExpression methodExpression)
Method Detail

getValue

public java.lang.Object getValue(javax.el.ELContext context)
Specified by:
getValue in class javax.el.ValueExpression

setValue

public void setValue(javax.el.ELContext context,
                     java.lang.Object value)
Specified by:
setValue in class javax.el.ValueExpression

isReadOnly

public boolean isReadOnly(javax.el.ELContext context)
Specified by:
isReadOnly in class javax.el.ValueExpression

getType

public java.lang.Class<?> getType(javax.el.ELContext context)
Specified by:
getType in class javax.el.ValueExpression

getExpectedType

public java.lang.Class<?> getExpectedType()
Specified by:
getExpectedType in class javax.el.ValueExpression

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

hashCode

public int hashCode()
Specified by:
hashCode in class javax.el.Expression

isLiteralText

public boolean isLiteralText()
Specified by:
isLiteralText in class javax.el.Expression

equals

public boolean equals(ValueExpressionMethodWrapper other)