Package org.apache.el
Class ValueExpressionLiteral
- java.lang.Object
- 
- javax.el.Expression
- 
- javax.el.ValueExpression
- 
- org.apache.el.ValueExpressionLiteral
 
 
 
- 
- All Implemented Interfaces:
- java.io.Externalizable,- java.io.Serializable
 
 public final class ValueExpressionLiteral extends ValueExpression implements java.io.Externalizable - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ValueExpressionLiteral()ValueExpressionLiteral(java.lang.Object value, java.lang.Class<?> expectedType)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleanequals(ValueExpressionLiteral ve)java.lang.Class<?>getExpectedType()java.lang.StringgetExpressionString()java.lang.Class<?>getType(ELContext context)java.lang.ObjectgetValue(ELContext context)inthashCode()booleanisLiteralText()booleanisReadOnly(ELContext context)voidreadExternal(java.io.ObjectInput in)voidsetValue(ELContext context, java.lang.Object value)voidwriteExternal(java.io.ObjectOutput out)- 
Methods inherited from class javax.el.ValueExpressiongetValueReference
 
- 
 
- 
- 
- 
Method Detail- 
getValuepublic java.lang.Object getValue(ELContext context) - Specified by:
- getValuein class- ValueExpression
- Parameters:
- context- The EL context for this evaluation
- Returns:
- The result of evaluating this value expression
 
 - 
setValuepublic void setValue(ELContext context, java.lang.Object value) - Specified by:
- setValuein class- ValueExpression
- Parameters:
- context- The EL context for this evaluation
- value- The value to set the property to which this value expression refers
 
 - 
isReadOnlypublic boolean isReadOnly(ELContext context) - Specified by:
- isReadOnlyin class- ValueExpression
- Parameters:
- context- The EL context for this evaluation
- Returns:
- trueif this expression is read only otherwise- false
 
 - 
getTypepublic java.lang.Class<?> getType(ELContext context) - Specified by:
- getTypein class- ValueExpression
- Parameters:
- context- The EL context for this evaluation
- Returns:
- The type of the result of this value expression
 
 - 
getExpectedTypepublic java.lang.Class<?> getExpectedType() - Specified by:
- getExpectedTypein class- ValueExpression
 
 - 
getExpressionStringpublic java.lang.String getExpressionString() - Specified by:
- getExpressionStringin class- Expression
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Specified by:
- equalsin class- Expression
 
 - 
equalspublic boolean equals(ValueExpressionLiteral ve) 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein class- Expression
 
 - 
isLiteralTextpublic boolean isLiteralText() - Specified by:
- isLiteralTextin class- Expression
 
 - 
writeExternalpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
- writeExternalin interface- java.io.Externalizable
- Throws:
- java.io.IOException
 
 - 
readExternalpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
- readExternalin interface- java.io.Externalizable
- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
 
- 
 
-