com.caucho.el
Class ObjectLiteralValueExpression
java.lang.Object
javax.el.Expression
javax.el.ValueExpression
com.caucho.el.ObjectLiteralValueExpression
- All Implemented Interfaces:
- java.io.Serializable
public class ObjectLiteralValueExpression
- extends ValueExpression
Wraps object into a value javax.el.ValueExpression, optionally converts
- See Also:
ExpressionFactory.createValueExpression(Object, Class)
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ObjectLiteralValueExpression
public ObjectLiteralValueExpression(java.lang.Object object,
java.lang.Class<?> expectedType)
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
getExpressionString
public java.lang.String getExpressionString()
- Specified by:
getExpressionString
in class Expression
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralText
in class Expression
hashCode
public int hashCode()
- Specified by:
hashCode
in class Expression
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in class Expression