|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.betwixt.expression.StringExpression
StringExpression returns the current context object as a string.
| Field Summary | |
private static StringExpression |
singleton
We only need only StringExpression |
| Constructor Summary | |
StringExpression()
Base constructor. |
|
| Method Summary | |
Object |
evaluate(Context context)
Return the context bean as a string |
static StringExpression |
getInstance()
Gets the singleton |
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 static final StringExpression singleton
StringExpression
| Constructor Detail |
public StringExpression()
| Method Detail |
public static StringExpression getInstance()
StringExpression instancepublic Object evaluate(Context context)
evaluate in interface Expressioncontext - evaluate expression against this context
toString() representation of the context bean
public void update(Context context,
String newValue)
update in interface Expressioncontext - update this ContextnewValue - the new value for this expressionExpressionpublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||