org.apache.struts2.el

Class ValueExpressionImpl

    • Constructor Detail

      • ValueExpressionImpl

        public ValueExpressionImpl()
      • ValueExpressionImpl

        public ValueExpressionImpl(String expr,
                           Node node,
                           javax.el.FunctionMapper fnMapper,
                           javax.el.VariableMapper varMapper,
                           Class expectedType)
    • Method Detail

      • equals

        public boolean equals(Object obj)
        Specified by:
        equals in class javax.el.Expression
      • getExpectedType

        public Class getExpectedType()
        Specified by:
        getExpectedType in class javax.el.ValueExpression
      • getExpressionString

        public String getExpressionString()
        Returns the type the result of the expression will be coerced to after evaluation.
        Specified by:
        getExpressionString in class javax.el.Expression
        Returns:
        the expectedType passed to the ExpressionFactory.createValueExpression method that created this ValueExpression.
        See Also:
        Expression.getExpressionString()
      • getType

        public Class getType(javax.el.ELContext context)
                      throws javax.el.PropertyNotFoundException,
                             javax.el.ELException
        Specified by:
        getType in class javax.el.ValueExpression
        Throws:
        javax.el.PropertyNotFoundException
        javax.el.ELException
      • getValue

        public Object getValue(javax.el.ELContext context)
                        throws javax.el.PropertyNotFoundException,
                               javax.el.ELException
        Specified by:
        getValue in class javax.el.ValueExpression
        Throws:
        javax.el.PropertyNotFoundException
        javax.el.ELException
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class javax.el.Expression
      • isLiteralText

        public boolean isLiteralText()
        Specified by:
        isLiteralText in class javax.el.Expression
      • isReadOnly

        public boolean isReadOnly(javax.el.ELContext context)
                           throws javax.el.PropertyNotFoundException,
                                  javax.el.ELException
        Specified by:
        isReadOnly in class javax.el.ValueExpression
        Throws:
        javax.el.PropertyNotFoundException
        javax.el.ELException
      • setValue

        public void setValue(javax.el.ELContext context,
                    Object value)
                      throws javax.el.PropertyNotFoundException,
                             javax.el.PropertyNotWritableException,
                             javax.el.ELException
        Specified by:
        setValue in class javax.el.ValueExpression
        Throws:
        javax.el.PropertyNotFoundException
        javax.el.PropertyNotWritableException
        javax.el.ELException

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.