com.caucho.el
Class AbstractValueExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.ValueExpression
          extended by com.caucho.el.AbstractValueExpression
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BigDecimalValueExpression, BigIntegerValueExpression, BooleanValueExpression, ByteValueExpression, CharacterValueExpression, DoubleValueExpression, FloatValueExpression, IntegerValueExpression, LongValueExpression, ShortValueExpression, StringValueExpression

public abstract class AbstractValueExpression
extends ValueExpression

Abstract implementation class for an expression.

See Also:
Serialized Form

Field Summary
protected  Expr _expr
           
protected static L10N L
           
protected static java.util.logging.Logger log
           
 
Constructor Summary
protected AbstractValueExpression()
           
protected AbstractValueExpression(Expr expr)
           
protected AbstractValueExpression(Expr expr, java.lang.String expressionString)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
abstract  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

_expr

protected final Expr _expr
Constructor Detail

AbstractValueExpression

protected AbstractValueExpression()

AbstractValueExpression

protected AbstractValueExpression(Expr expr,
                                  java.lang.String expressionString)

AbstractValueExpression

protected AbstractValueExpression(Expr expr)
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 abstract 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