|
Copyright 2002 by aragost | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.aragost.araspect.evaluators.Evaluator
|
+--com.aragost.araspect.evaluators.MethodEvaluator
| Constructor Summary | |
MethodEvaluator()
|
|
| Method Summary | |
PathElement |
createPathElement(java.lang.String methodName)
DOCUMENT ME! |
java.lang.Object |
eval(java.lang.Object arg,
PathElement elm)
Evaluate a PathElement for the specified Object. |
java.lang.String |
id()
Return a unique id for the receiver. |
java.lang.String |
prettyPrint(PathElement elm)
Prettyprint the specified PathElement. |
void |
update(java.lang.Object object,
PathElement elm,
java.lang.String newValue)
Update a attribute of an object from user input. |
| Methods inherited from class com.aragost.araspect.evaluators.Evaluator |
get, getRegisteredEvaluators, register, register |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MethodEvaluator()
| Method Detail |
public PathElement createPathElement(java.lang.String methodName)
methodName - DOCUMENT ME!
public java.lang.String prettyPrint(PathElement elm)
prettyPrint in class Evaluatorelm - DOCUMENT ME!
public java.lang.String id()
Evaluator
id in class EvaluatorEvaluator.id()
public java.lang.Object eval(java.lang.Object arg,
PathElement elm)
throws EvaluationException
Evaluator
eval in class Evaluatorarg - elm -
EvaluationExceptionEvaluator.eval(Object, PathElement)
public void update(java.lang.Object object,
PathElement elm,
java.lang.String newValue)
throws EvaluationException
Updater
update in interface Updaterobject - The object that will be updatedelm - A PathElement that describe the attribute to changenewValue - The newValue of the attribute. This value has to
be converted to the right type.
EvaluationExceptionUpdater.update(Object, PathElement, String)
|
Copyright 2002 by aragost | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||