public final class IteratedExpression
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
delims |
protected ValueExpression |
orig |
Constructor and Description |
---|
IteratedExpression(ValueExpression orig,
java.lang.String delims) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getItem(ELContext context,
int i)
Evaluates the stored ValueExpression and return the indexed item.
|
ValueExpression |
getValueExpression() |
protected final ValueExpression orig
protected final java.lang.String delims
public IteratedExpression(ValueExpression orig, java.lang.String delims)
orig
- ValueExpression to processdelims
- Delimiters to use to split a String expressionpublic java.lang.Object getItem(ELContext context, int i)
context
- The ELContext used to evaluate the ValueExpressioni
- The index of the item to be retrievedpublic ValueExpression getValueExpression()