public class MapDynamicPropertyHandler extends Object implements DynamicPropertyHandler
Map
.Constructor and Description |
---|
MapDynamicPropertyHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(Object object,
String propertyName)
Returns the value of the specified dynamic property.
|
String[] |
getPropertyNames(Object object)
Returns a list of dynamic property names for the supplied object.
|
void |
setProperty(Object object,
String propertyName,
Object value)
Modifies the value of the specified dynamic property.
|
public MapDynamicPropertyHandler()
public String[] getPropertyNames(Object object)
DynamicPropertyHandler
getPropertyNames
in interface DynamicPropertyHandler
object
- to inspectpublic Object getProperty(Object object, String propertyName)
DynamicPropertyHandler
getProperty
in interface DynamicPropertyHandler
object
- to searchpropertyName
- to retrievepublic void setProperty(Object object, String propertyName, Object value)
DynamicPropertyHandler
setProperty
in interface DynamicPropertyHandler
object
- to modifypropertyName
- to modifyvalue
- to setCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.