public final class IteratedExpression extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
delims |
protected javax.el.ValueExpression |
orig |
Constructor and Description |
---|
IteratedExpression(javax.el.ValueExpression orig,
String delims)
Constructor specifying the expression to access.
|
Modifier and Type | Method and Description |
---|---|
Object |
getItem(javax.el.ELContext context,
int i)
Iterates the original expression and returns the value at the index.
|
javax.el.ValueExpression |
getValueExpression()
Returns the original expression.
|
protected final javax.el.ValueExpression orig
protected final String delims
public IteratedExpression(javax.el.ValueExpression orig, String delims)
orig
- the original expression to be accesseddelims
- delimiters to be used to split a String resultpublic Object getItem(javax.el.ELContext context, int i)
context
- against which the expression should be evaluatedi
- the index of the value to returnpublic javax.el.ValueExpression getValueExpression()
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.