public final class ValueExpressionLiteral extends ValueExpression implements Externalizable
| Constructor and Description |
|---|
ValueExpressionLiteral() |
ValueExpressionLiteral(Object value,
Class<?> expectedType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
equals(ValueExpressionLiteral ve) |
Class<?> |
getExpectedType() |
String |
getExpressionString() |
Class<?> |
getType(ELContext context) |
Object |
getValue(ELContext context) |
int |
hashCode() |
boolean |
isLiteralText() |
boolean |
isReadOnly(ELContext context) |
void |
readExternal(ObjectInput in) |
void |
setValue(ELContext context,
Object value) |
void |
writeExternal(ObjectOutput out) |
getValueReferencepublic Object getValue(ELContext context)
getValue in class ValueExpressioncontext - The EL context for this evaluationpublic void setValue(ELContext context, Object value)
setValue in class ValueExpressioncontext - The EL context for this evaluationvalue - The value to set the property to which this value
expression referspublic boolean isReadOnly(ELContext context)
isReadOnly in class ValueExpressioncontext - The EL context for this evaluationtrue if this expression is read only otherwise
falsepublic Class<?> getType(ELContext context)
getType in class ValueExpressioncontext - The EL context for this evaluationpublic Class<?> getExpectedType()
getExpectedType in class ValueExpressionpublic String getExpressionString()
getExpressionString in class Expressionpublic boolean equals(Object obj)
equals in class Expressionpublic boolean equals(ValueExpressionLiteral ve)
public int hashCode()
hashCode in class Expressionpublic boolean isLiteralText()
isLiteralText in class Expressionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.