org.apache.el
Class ValueExpressionLiteral
java.lang.Object
  
javax.el.Expression
      
javax.el.ValueExpression
          
org.apache.el.ValueExpressionLiteral
- All Implemented Interfaces: 
 - Externalizable, Serializable
 
public final class ValueExpressionLiteral
- extends ValueExpression
- implements Externalizable
  
- See Also:
 - Serialized Form
 
 
 
 
 
ValueExpressionLiteral
public ValueExpressionLiteral()
ValueExpressionLiteral
public ValueExpressionLiteral(Object value,
                              Class<?> expectedType)
getValue
public Object getValue(ELContext context)
- Specified by:
 getValue in class ValueExpression
 
 
setValue
public void setValue(ELContext context,
                     Object value)
- Specified by:
 setValue in class ValueExpression
 
 
isReadOnly
public boolean isReadOnly(ELContext context)
- Specified by:
 isReadOnly in class ValueExpression
 
 
getType
public Class<?> getType(ELContext context)
- Specified by:
 getType in class ValueExpression
 
 
getExpectedType
public Class<?> getExpectedType()
- Specified by:
 getExpectedType in class ValueExpression
 
 
getExpressionString
public String getExpressionString()
- Specified by:
 getExpressionString in class Expression
 
 
equals
public boolean equals(Object obj)
- Specified by:
 equals in class Expression
 
 
equals
public boolean equals(ValueExpressionLiteral ve)
 
 
hashCode
public int hashCode()
- Specified by:
 hashCode in class Expression
 
 
isLiteralText
public boolean isLiteralText()
- Specified by:
 isLiteralText in class Expression
 
 
writeExternal
public void writeExternal(ObjectOutput out)
                   throws IOException
- Specified by:
 writeExternal in interface Externalizable
 
- Throws:
 IOException
 
readExternal
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
- Specified by:
 readExternal in interface Externalizable
 
- Throws:
 IOException
ClassNotFoundException
 
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.