public final class ValueExpressionLiteral extends ValueExpression implements java.io.Externalizable
| Constructor and Description |
|---|
ValueExpressionLiteral() |
ValueExpressionLiteral(java.lang.Object value,
java.lang.Class<?> expectedType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equals(ValueExpressionLiteral ve) |
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 |
readExternal(java.io.ObjectInput in) |
void |
setValue(ELContext context,
java.lang.Object value) |
void |
writeExternal(java.io.ObjectOutput out) |
getValueReferencepublic ValueExpressionLiteral()
public ValueExpressionLiteral(java.lang.Object value,
java.lang.Class<?> expectedType)
public java.lang.Object getValue(ELContext context)
getValue in class ValueExpressioncontext - The EL context for this evaluationpublic void setValue(ELContext context, java.lang.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 java.lang.Class<?> getType(ELContext context)
getType in class ValueExpressioncontext - The EL context for this evaluationpublic java.lang.Class<?> getExpectedType()
getExpectedType in class ValueExpressionpublic java.lang.String getExpressionString()
getExpressionString in class Expressionpublic boolean equals(java.lang.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(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.