|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.betwixt.expression.EmptyExpression
public class 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 Expressioncontext - evaluate against this Context
Expression
public void update(Context context,
java.lang.String newValue)
update in interface Expressioncontext - update this ContextnewValue - the new value for this expressionExpressionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||