|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPropertyAccessor
The interface can be implemented by application that use Rythm
with dynamic expression
option enabled.
The implementation should be registered via RythmEngine.registerPropertyAccessor(IPropertyAccessor...) API or via org.rythmengine.conf.RythmConfigurationKey#EXT_PROP_ACCESSOR configuration
| Method Summary | |
|---|---|
Object |
getProperty(String name,
Object contextObj)
Retrieves the value of the property. |
Class |
getTargetType()
Which type this property accessor can be applied |
Object |
setProperty(String name,
Object contextObj,
Object value)
Sets the value of the property. |
| Method Detail |
|---|
Class getTargetType()
Object getProperty(String name,
Object contextObj)
name - - the name of the property to be resolved.contextObj - - the current context object.
Object setProperty(String name,
Object contextObj,
Object value)
name - - the name of the property to be resolved.contextObj - - the current context object.value - - the value to be set to the resolved property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||