public final class ObjectValueExpression
extends javax.el.ValueExpression
| Constructor and Description |
|---|
ObjectValueExpression(TypeConverter converter,
Object object,
Class<?> type)
Wrap an object into a value expression.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Two object value expressions are equal if and only if their wrapped objects are equal.
|
Class<?> |
getExpectedType() |
String |
getExpressionString()
Answer
null. |
Class<?> |
getType(javax.el.ELContext context)
Answer
null. |
Object |
getValue(javax.el.ELContext context)
Answer the wrapped object, coerced to the expected type.
|
int |
hashCode() |
boolean |
isLiteralText()
Answer
false. |
boolean |
isReadOnly(javax.el.ELContext context)
Answer
true. |
void |
setValue(javax.el.ELContext context,
Object value)
Throw an exception.
|
String |
toString() |
public ObjectValueExpression(TypeConverter converter, Object object, Class<?> type)
converter - type converterobject - the object to wraptype - the expected type this object will be coerced in getValue(ELContext).public boolean equals(Object obj)
equals in class javax.el.Expressionpublic int hashCode()
hashCode in class javax.el.Expressionpublic Object getValue(javax.el.ELContext context)
getValue in class javax.el.ValueExpressionpublic String getExpressionString()
null.getExpressionString in class javax.el.Expressionpublic boolean isLiteralText()
false.isLiteralText in class javax.el.Expressionpublic Class<?> getType(javax.el.ELContext context)
null.getType in class javax.el.ValueExpressionpublic boolean isReadOnly(javax.el.ELContext context)
true.isReadOnly in class javax.el.ValueExpressionpublic void setValue(javax.el.ELContext context,
Object value)
setValue in class javax.el.ValueExpressionpublic Class<?> getExpectedType()
getExpectedType in class javax.el.ValueExpressionCopyright © 2006–2016 Odysseus Software GmbH. All rights reserved.