Class IteratedValueExpression

java.lang.Object
javax.el.Expression
javax.el.ValueExpression
javax.servlet.jsp.jstl.core.IteratedValueExpression
All Implemented Interfaces:
Serializable

public final class IteratedValueExpression extends ValueExpression
ValueExpression that refers to a specific member of an indexed variable backed by an IteratedExpression. This allows individual members of an indexed collection to be used as lvalues.
See Also:
  • Constructor Details

    • IteratedValueExpression

      public IteratedValueExpression(IteratedExpression _iteratedExpr, int i)
  • Method Details

    • equals

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

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

      public String getExpressionString()
      Specified by:
      getExpressionString in class Expression
    • getType

      public Class getType(ELContext elContext)
      Specified by:
      getType in class ValueExpression
      Parameters:
      elContext - The EL context for this evaluation
      Returns:
      The type of the result of this value expression
    • getValue

      public Object getValue(ELContext elContext)
      Specified by:
      getValue in class ValueExpression
      Parameters:
      elContext - The EL context for this evaluation
      Returns:
      The result of evaluating this value expression
    • hashCode

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

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

      public boolean isReadOnly(ELContext elContext)
      Specified by:
      isReadOnly in class ValueExpression
      Parameters:
      elContext - The EL context for this evaluation
      Returns:
      true if this expression is read only otherwise false
    • setValue

      public void setValue(ELContext elContext, Object arg1)
      Specified by:
      setValue in class ValueExpression
      Parameters:
      elContext - The EL context for this evaluation
      arg1 - The value to set the property to which this value expression refers