|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.betwixt.expression.IteratorExpression
public class IteratorExpression
IteratorExpression
returns an iterator over the current context.
Field Summary | |
---|---|
private Expression |
expression
Use this Expression to perform initial evaluation |
Constructor Summary | |
---|---|
IteratorExpression(Expression expression)
Construct IteratorExpression using given expression for initial evaluation. |
Method Summary | |
---|---|
Object |
evaluate(Context context)
Returns an interator over the current context |
String |
toString()
Returns something useful for logging |
void |
update(Context context,
String newValue)
Do nothing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Expression expression
Expression
to perform initial evaluation
Constructor Detail |
---|
public IteratorExpression(Expression expression)
IteratorExpression
using given expression for initial evaluation.
expression
- this expression will be evaluated and the result converted to an
iterator.Method Detail |
---|
public Object evaluate(Context context)
evaluate
in interface Expression
context
- evaluate against this Context
Expression
public void update(Context context, String newValue)
update
in interface Expression
context
- update this Context
newValue
- the new value for this expressionExpression
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |