Copyright 2002 by aragost

com.aragost.araspect.evaluators
Interface Updater

All Known Implementing Classes:
FieldEvaluator, MethodEvaluator

public interface Updater


Method Summary
 void update(java.lang.Object object, PathElement elm, java.lang.String newValue)
          Update a attribute of an object from user input.
 

Method Detail

update

public void update(java.lang.Object object,
                   PathElement elm,
                   java.lang.String newValue)
            throws EvaluationException
Update a attribute of an object from user input. That means that a single attribute of the object will be changed to a new value.

Parameters:
object - The object that will be updated
elm - A PathElement that describe the attribute to change
newValue - The newValue of the attribute. This value has to be converted to the right type.
Throws:
EvaluationException

Copyright 2002 by aragost