com.sun.el
Class ValueExpressionLiteral

java.lang.Object
  extended by ValueExpression
      extended by com.sun.el.ValueExpressionLiteral
All Implemented Interfaces:
Externalizable, Serializable

public final class ValueExpressionLiteral
extends ValueExpression
implements Externalizable


Constructor Summary
ValueExpressionLiteral()
           
ValueExpressionLiteral(Object value, Class expectedType)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueExpressionLiteral

public ValueExpressionLiteral()

ValueExpressionLiteral

public ValueExpressionLiteral(Object value,
                              Class expectedType)
Method Detail

getValue

public Object getValue(ELContext context)

setValue

public void setValue(ELContext context,
                     Object value)

isReadOnly

public boolean isReadOnly(ELContext context)

getType

public Class getType(ELContext context)

getExpectedType

public Class getExpectedType()

getExpressionString

public String getExpressionString()

equals

public boolean equals(Object obj)

equals

public boolean equals(ValueExpressionLiteral ve)

hashCode

public int hashCode()

isLiteralText

public boolean isLiteralText()

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 © 1995-2011 Mort Bay Consulting. All Rights Reserved.