Package jakarta.servlet.jsp.jstl.core
Class IteratedExpression
- java.lang.Object
-
- jakarta.servlet.jsp.jstl.core.IteratedExpression
-
public final class IteratedExpression extends Object
- Version:
- $Id: IteratedExpression.java,v 1.6 2006/11/17 19:48:41 jluehe Exp $
- Author:
- Kin-man Chung
-
-
Field Summary
Fields Modifier and Type Field Description protected String
delims
protected ValueExpression
orig
-
Constructor Summary
Constructors Constructor Description IteratedExpression(ValueExpression orig, String delims)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getItem(ELContext context, int i)
Evaluates the stored ValueExpression and return the indexed item.ValueExpression
getValueExpression()
-
-
-
Field Detail
-
orig
protected final ValueExpression orig
-
delims
protected final String delims
-
-
Constructor Detail
-
IteratedExpression
public IteratedExpression(ValueExpression orig, String delims)
- Parameters:
orig
- ValueExpression to processdelims
- Delimiters to use to split a String expression
-
-
Method Detail
-
getItem
public Object getItem(ELContext context, int i)
Evaluates the stored ValueExpression and return the indexed item.- Parameters:
context
- The ELContext used to evaluate the ValueExpressioni
- The index of the item to be retrieved- Returns:
- The value expression result at i
-
getValueExpression
public ValueExpression getValueExpression()
-
-