|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.betwixt.expression.EmptyExpression
EmptyExpression
returns the same value as is passed in.
See evaluate(org.apache.commons.betwixt.expression.Context)
.
Constructor Summary | |
EmptyExpression()
Should this be private? |
Method Summary | |
java.lang.Object |
evaluate(Context context)
Return the bean we're evaluating. |
static EmptyExpression |
getInstance()
Gets the singleton instance. |
java.lang.String |
toString()
Return something useful for logging. |
void |
update(Context context,
java.lang.String newValue)
Do nothing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EmptyExpression()
Method Detail |
public static EmptyExpression getInstance()
public java.lang.Object evaluate(Context context)
evaluate
in interface Expression
Expression
public void update(Context context, java.lang.String newValue)
update
in interface Expression
Expression
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |