|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyAccessor<T>
Interface which is implemented by classes capable of acting as accessors for certain
types of classes. Currently this is tied very tightly to the NodeType
enum. Each
PropertyAccessor must be able to store and retrieve values from the target type.
Method Summary | |
---|---|
Object |
getValue(NodeEvaluation evaluation,
T target)
Gets the value specified by the NodeEvaluation in the target object. |
void |
setValue(NodeEvaluation evaluation,
T target,
Object value)
Gets the value specified by the NodeEvaluation in the target object. |
Method Detail |
---|
Object getValue(NodeEvaluation evaluation, T target)
evaluation
- provides access to the name and type of the desired property
as well as to prior and subsequent nodes in the expressiontarget
- the target object from which the value is to be retrieved
void setValue(NodeEvaluation evaluation, T target, Object value)
evaluation
- provides access to the name and type of the desired property
as well as to prior and subsequent nodes in the expressiontarget
- the target object in/on to which the value is to be storedvalue
- the value to be set, may be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |