public class EmptyExpression extends Object implements Expression
EmptyExpression returns the same value as is passed in.
See evaluate(org.apache.commons.betwixt.expression.Context).
| Constructor and Description |
|---|
EmptyExpression()
Should this be private?
|
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Context context)
Return the bean we're evaluating.
|
static EmptyExpression |
getInstance()
Gets the singleton instance.
|
String |
toString()
Return something useful for logging.
|
void |
update(Context context,
String newValue)
Do nothing
|
public static EmptyExpression getInstance()
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 expressionExpressionCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.