Package javax.servlet.jsp.jstl.core
Class IndexedValueExpression
- java.lang.Object
 - 
- javax.el.Expression
 - 
- javax.el.ValueExpression
 - 
- javax.servlet.jsp.jstl.core.IndexedValueExpression
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public final class IndexedValueExpression extends ValueExpression implements java.io.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
 
 
- 
- 
Constructor Summary
Constructors Constructor Description IndexedValueExpression(ValueExpression valueExpression, int i)Constructor specifying indexed variable and index. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.ClassgetExpectedType()java.lang.StringgetExpressionString()java.lang.ClassgetType(ELContext elContext)java.lang.ObjectgetValue(ELContext elContext)inthashCode()booleanisLiteralText()booleanisReadOnly(ELContext elContext)voidsetValue(ELContext elContext, java.lang.Object arg1)- 
Methods inherited from class javax.el.ValueExpression
getValueReference 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
IndexedValueExpression
public IndexedValueExpression(ValueExpression valueExpression, int i)
Constructor specifying indexed variable and index.- Parameters:
 valueExpression- that evaluates to the indexed variablei- index specifying the member
 
 - 
 
- 
Method Detail
- 
equals
public boolean equals(java.lang.Object o)
- Specified by:
 equalsin classExpression
 
- 
getExpectedType
public java.lang.Class getExpectedType()
- Specified by:
 getExpectedTypein classValueExpression
 
- 
getExpressionString
public java.lang.String getExpressionString()
- Specified by:
 getExpressionStringin classExpression
 
- 
getType
public java.lang.Class getType(ELContext elContext)
- Specified by:
 getTypein classValueExpression- Parameters:
 elContext- The EL context for this evaluation- Returns:
 - The type of the result of this value expression
 
 
- 
getValue
public java.lang.Object getValue(ELContext elContext)
- Specified by:
 getValuein classValueExpression- Parameters:
 elContext- The EL context for this evaluation- Returns:
 - The result of evaluating this value expression
 
 
- 
hashCode
public int hashCode()
- Specified by:
 hashCodein classExpression
 
- 
isLiteralText
public boolean isLiteralText()
- Specified by:
 isLiteralTextin classExpression
 
- 
isReadOnly
public boolean isReadOnly(ELContext elContext)
- Specified by:
 isReadOnlyin classValueExpression- Parameters:
 elContext- The EL context for this evaluation- Returns:
 trueif this expression is read only otherwisefalse
 
- 
setValue
public void setValue(ELContext elContext, java.lang.Object arg1)
- Specified by:
 setValuein classValueExpression- Parameters:
 elContext- The EL context for this evaluationarg1- The value to set the property to which this value expression refers
 
 - 
 
 -