public class IteratorExpression extends Object implements Expression
IteratorExpression returns an iterator over the current context.
| Modifier and Type | Field and Description |
|---|---|
private Expression |
expression
Use this
Expression to perform initial evaluation |
| Constructor and Description |
|---|
IteratorExpression(Expression expression)
Construct
IteratorExpression using given expression for initial evaluation. |
private Expression expression
Expression to perform initial evaluationpublic IteratorExpression(Expression expression)
IteratorExpression using given expression for initial evaluation.expression - this expression will be evaluated and the result converted to an
iterator.public Object evaluate(Context context)
evaluate in interface Expressioncontext - evaluate against this ContextExpressionpublic void update(Context context, String newValue)
update in interface Expressioncontext - update this ContextnewValue - the new value for this expressionExpression