|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.betwixt.expression.ClassNameExpression
public class ClassNameExpression
ClassNameExpression returns the current class name
of the context bean
| Constructor Summary | |
|---|---|
ClassNameExpression()
Base constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
evaluate(Context context)
Evaluate on the current context and return the class name |
java.lang.String |
toString()
Returns 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 ClassNameExpression()
| Method Detail |
|---|
public java.lang.Object evaluate(Context context)
evaluate in interface Expressioncontext - the context against which this expression will be evaluated
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 | |||||||||