|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.apache.commons.betwixt.expression.StringExpression
StringExpression returns the current context object as a string.
| Constructor Summary | |
StringExpression()
Base constructor. |
|
| Method Summary | |
java.lang.Object |
evaluate(org.apache.commons.betwixt.expression.Context context)
Return the context bean as a string |
static org.apache.commons.betwixt.expression.StringExpression |
getInstance()
Gets the singleton |
java.lang.String |
toString()
Returns something useful for logging. |
void |
update(org.apache.commons.betwixt.expression.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 StringExpression()
| Method Detail |
public static org.apache.commons.betwixt.expression.StringExpression getInstance()
StringExpression instancepublic java.lang.Object evaluate(org.apache.commons.betwixt.expression.Context context)
evaluate in interface Expressioncontext - evaluate expression against this context
toString() representation of the context bean
public void update(org.apache.commons.betwixt.expression.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 | ||||||||||