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 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
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.