- java.lang.Object
-
- jakarta.el.Expression
-
- jakarta.el.ValueExpression
-
- com.sun.el.ValueExpressionLiteral
-
- All Implemented Interfaces:
Externalizable,Serializable
public final class ValueExpressionLiteral extends jakarta.el.ValueExpression implements Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueExpressionLiteral()ValueExpressionLiteral(Object value, Class<?> expectedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(ValueExpressionLiteral ve)booleanequals(Object obj)Class<?>getExpectedType()StringgetExpressionString()Class<?>getType(jakarta.el.ELContext context)ObjectgetValue(jakarta.el.ELContext context)inthashCode()booleanisLiteralText()booleanisReadOnly(jakarta.el.ELContext context)voidreadExternal(ObjectInput in)voidsetValue(jakarta.el.ELContext context, Object value)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
getValue
public Object getValue(jakarta.el.ELContext context)
- Specified by:
getValuein classjakarta.el.ValueExpression
-
setValue
public void setValue(jakarta.el.ELContext context, Object value)- Specified by:
setValuein classjakarta.el.ValueExpression
-
isReadOnly
public boolean isReadOnly(jakarta.el.ELContext context)
- Specified by:
isReadOnlyin classjakarta.el.ValueExpression
-
getType
public Class<?> getType(jakarta.el.ELContext context)
- Specified by:
getTypein classjakarta.el.ValueExpression
-
getExpectedType
public Class<?> getExpectedType()
- Specified by:
getExpectedTypein classjakarta.el.ValueExpression
-
getExpressionString
public String getExpressionString()
- Specified by:
getExpressionStringin classjakarta.el.Expression
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin classjakarta.el.Expression
-
equals
public boolean equals(ValueExpressionLiteral ve)
-
hashCode
public int hashCode()
- Specified by:
hashCodein classjakarta.el.Expression
-
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralTextin classjakarta.el.Expression
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-