com.caucho.el
Class StringValueExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.ValueExpression
          extended by com.caucho.el.AbstractValueExpression
              extended by com.caucho.el.StringValueExpression
All Implemented Interfaces:
java.io.Serializable

public class StringValueExpression
extends AbstractValueExpression

Abstract implementation class for an expression.

See Also:
Serialized Form

Field Summary
protected static L10N L
           
protected static java.util.logging.Logger log
           
 
Fields inherited from class com.caucho.el.AbstractValueExpression
_expr
 
Constructor Summary
StringValueExpression(Expr expr)
           
StringValueExpression(Expr expr, java.lang.String expressionString)
           
StringValueExpression(Expr expr, java.lang.String expressionString, java.lang.Class expectedType)
           
 
Method Summary
 java.lang.Class<?> getExpectedType()
           
 java.lang.Class<?> getType(ELContext context)
           
 java.lang.Object getValue(ELContext context)
           
 ValueReference getValueReference(ELContext context)
           
 
Methods inherited from class com.caucho.el.AbstractValueExpression
equals, getExpressionString, hashCode, isLiteralText, isReadOnly, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log

L

protected static final L10N L
Constructor Detail

StringValueExpression

public StringValueExpression(Expr expr,
                             java.lang.String expressionString,
                             java.lang.Class expectedType)

StringValueExpression

public StringValueExpression(Expr expr,
                             java.lang.String expressionString)

StringValueExpression

public StringValueExpression(Expr expr)
Method Detail

getExpectedType

public java.lang.Class<?> getExpectedType()
Specified by:
getExpectedType in class AbstractValueExpression

getType

public java.lang.Class<?> getType(ELContext context)
                           throws PropertyNotFoundException,
                                  ELException
Overrides:
getType in class AbstractValueExpression
Throws:
PropertyNotFoundException
ELException

getValue

public java.lang.Object getValue(ELContext context)
                          throws PropertyNotFoundException,
                                 ELException
Overrides:
getValue in class AbstractValueExpression
Throws:
PropertyNotFoundException
ELException

getValueReference

public ValueReference getValueReference(ELContext context)
Overrides:
getValueReference in class ValueExpression