public interface DynamicPropertyHandler
JXPathIntrospector.registerDynamicClass(class, handlerClass)
"myMap/myKey"
"myMap[@name = 'myKey']"
"myMap[name(.) = 'myKey']"
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.Object object,
java.lang.String propertyName)
Returns the value of the specified dynamic property.
|
java.lang.String[] |
getPropertyNames(java.lang.Object object)
Returns a list of dynamic property names for the supplied object.
|
void |
setProperty(java.lang.Object object,
java.lang.String propertyName,
java.lang.Object value)
Modifies the value of the specified dynamic property.
|
java.lang.String[] getPropertyNames(java.lang.Object object)
object
- to inspectjava.lang.Object getProperty(java.lang.Object object, java.lang.String propertyName)
object
- to searchpropertyName
- to retrievevoid setProperty(java.lang.Object object, java.lang.String propertyName, java.lang.Object value)
object
- to modifypropertyName
- to modifyvalue
- to set