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) |
getValueReference
public ValueExpressionLiteral()
public ValueExpressionLiteral(java.lang.Object value, java.lang.Class<?> expectedType)
public java.lang.Object getValue(ELContext context)
getValue
in class ValueExpression
context
- The EL context for this evaluationpublic void setValue(ELContext context, java.lang.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 java.lang.Class<?> getType(ELContext context)
getType
in class ValueExpression
context
- The EL context for this evaluationpublic java.lang.Class<?> getExpectedType()
getExpectedType
in class ValueExpression
public java.lang.String getExpressionString()
getExpressionString
in class Expression
public boolean equals(java.lang.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(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.