javax.servlet.jsp.jstl.core
Class IndexedValueExpression

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

public final class IndexedValueExpression
extends javax.el.ValueExpression
implements Serializable

ValueExpression that refers to a specific member of an indexed variable. This allows individual members of an indexed collection to be used as lvalues.

See Also:
Serialized Form

Field Summary
protected  Integer i
          The index variable.
protected  javax.el.ValueExpression orig
          The indexed variable.
 
Constructor Summary
IndexedValueExpression(javax.el.ValueExpression valueExpression, int i)
          Constructor specifying indexed variable and index.
 
Method Summary
 boolean equals(Object o)
           
 Class getExpectedType()
           
 String getExpressionString()
           
 Class getType(javax.el.ELContext elContext)
           
 Object getValue(javax.el.ELContext elContext)
           
 int hashCode()
           
 boolean isLiteralText()
           
 boolean isReadOnly(javax.el.ELContext elContext)
           
 void setValue(javax.el.ELContext elContext, Object arg1)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

protected final Integer i
The index variable.


orig

protected final javax.el.ValueExpression orig
The indexed variable.

Constructor Detail

IndexedValueExpression

public IndexedValueExpression(javax.el.ValueExpression valueExpression,
                              int i)
Constructor specifying indexed variable and index.

Parameters:
valueExpression - that evaluates to the indexed variable
i - index specifying the member
Method Detail

equals

public boolean equals(Object o)
Specified by:
equals in class javax.el.Expression

getExpectedType

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

getExpressionString

public String getExpressionString()
Specified by:
getExpressionString in class javax.el.Expression

getType

public Class getType(javax.el.ELContext elContext)
Specified by:
getType in class javax.el.ValueExpression

getValue

public Object getValue(javax.el.ELContext elContext)
Specified by:
getValue in class javax.el.ValueExpression

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 elContext)
Specified by:
isReadOnly in class javax.el.ValueExpression

setValue

public void setValue(javax.el.ELContext elContext,
                     Object arg1)
Specified by:
setValue in class javax.el.ValueExpression


Copyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.