public interface PropertyAccessor<T>
NodeType enum. Each
PropertyAccessor must be able to store and retrieve values from the target type.| Modifier and Type | Method and Description |
|---|---|
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.
|
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 retrievedvoid 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© Copyright 2005-2006, Stripes Development Team.