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
| Modifier and Type | Method and Description |
|---|---|
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.
|
Class getTargetType()
Which type this property accessor can be applied
Object getProperty(String name, Object contextObj)
Retrieves the value of the property.
name - contextObj - Object setProperty(String name, Object contextObj, Object value)
Sets the value of the property.
name - contextObj - value - Copyright © 2017–2021 OSGL (Open Source General Library). All rights reserved.