public class ObjectLiteralValueExpression extends ValueExpression
Constructor and Description |
---|
ObjectLiteralValueExpression(java.lang.Object object,
java.lang.Class<?> expectedType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
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) |
getValueReference
public ObjectLiteralValueExpression(java.lang.Object object, java.lang.Class<?> expectedType)
public java.lang.Class<?> getExpectedType()
getExpectedType
in class ValueExpression
public java.lang.Class<?> getType(ELContext context) throws PropertyNotFoundException, ELException
getType
in class ValueExpression
PropertyNotFoundException
ELException
public java.lang.Object getValue(ELContext context) throws PropertyNotFoundException, ELException
getValue
in class ValueExpression
PropertyNotFoundException
ELException
public boolean isReadOnly(ELContext context) throws PropertyNotFoundException, ELException
isReadOnly
in class ValueExpression
PropertyNotFoundException
ELException
public void setValue(ELContext context, java.lang.Object value) throws PropertyNotFoundException, PropertyNotWritableException, ELException
setValue
in class ValueExpression
PropertyNotFoundException
PropertyNotWritableException
ELException
public java.lang.String getExpressionString()
getExpressionString
in class Expression
public boolean isLiteralText()
isLiteralText
in class Expression
public int hashCode()
hashCode
in class Expression
public boolean equals(java.lang.Object obj)
equals
in class Expression