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) |
getValueReference
public Object getValue(ELContext context)
getValue
in class ValueExpression
context
- The EL context for this evaluationpublic void setValue(ELContext context, Object value)
setValue
in class ValueExpression
context
- 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 ValueExpression
context
- The EL context for this evaluationtrue
if this expression is read only otherwise
false
public Class<?> getType(ELContext context)
getType
in class ValueExpression
context
- The EL context for this evaluationpublic Class<?> getExpectedType()
getExpectedType
in class ValueExpression
public String getExpressionString()
getExpressionString
in class Expression
public boolean equals(Object obj)
equals
in class Expression
public boolean equals(ValueExpressionLiteral ve)
public int hashCode()
hashCode
in class Expression
public boolean isLiteralText()
isLiteralText
in class Expression
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.