com.caucho.el
Class ObjectValueExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.ValueExpression
          extended by com.caucho.el.ObjectValueExpression
All Implemented Interfaces:
java.io.Serializable

public class ObjectValueExpression
extends ValueExpression

Abstract implementation class for an expression.

See Also:
Serialized Form

Field Summary
protected static L10N L
           
protected static java.util.logging.Logger log
           
 
Constructor Summary
ObjectValueExpression()
          For serialization
ObjectValueExpression(Expr expr)
           
ObjectValueExpression(Expr expr, java.lang.String expressionString)
           
ObjectValueExpression(Expr expr, java.lang.String expressionString, java.lang.Class<?> expectedType)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Class<?> getExpectedType()
           
 java.lang.String getExpressionString()
           
 java.lang.Class<?> getType(ELContext context)
           
 java.lang.Object getValue(ELContext context)
           
 int hashCode()
           
 boolean isLiteralText()
           
 boolean isReadOnly(ELContext context)
           
 void setValue(ELContext context, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.el.ValueExpression
getValueReference
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log

L

protected static final L10N L
Constructor Detail

ObjectValueExpression

public ObjectValueExpression(Expr expr,
                             java.lang.String expressionString,
                             java.lang.Class<?> expectedType)

ObjectValueExpression

public ObjectValueExpression(Expr expr,
                             java.lang.String expressionString)

ObjectValueExpression

public ObjectValueExpression(Expr expr)

ObjectValueExpression

public ObjectValueExpression()
For serialization

Method Detail

isLiteralText

public boolean isLiteralText()
Specified by:
isLiteralText in class Expression

getExpressionString

public java.lang.String getExpressionString()
Specified by:
getExpressionString in class Expression

getExpectedType

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

getType

public java.lang.Class<?> getType(ELContext context)
                           throws PropertyNotFoundException,
                                  ELException
Specified by:
getType in class ValueExpression
Throws:
PropertyNotFoundException
ELException

getValue

public java.lang.Object getValue(ELContext context)
                          throws PropertyNotFoundException,
                                 ELException
Specified by:
getValue in class ValueExpression
Throws:
PropertyNotFoundException
ELException

isReadOnly

public boolean isReadOnly(ELContext context)
                   throws PropertyNotFoundException,
                          ELException
Specified by:
isReadOnly in class ValueExpression
Throws:
PropertyNotFoundException
ELException

setValue

public void setValue(ELContext context,
                     java.lang.Object value)
              throws PropertyNotFoundException,
                     PropertyNotWritableException,
                     ELException
Specified by:
setValue in class ValueExpression
Throws:
PropertyNotFoundException
PropertyNotWritableException
ELException

hashCode

public int hashCode()
Specified by:
hashCode in class Expression

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in class Expression

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object