|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.MapDynamicPropertyHandler
public class MapDynamicPropertyHandler
Implements the DynamicPropertyHandler interface for Map
.
Constructor Summary | |
---|---|
MapDynamicPropertyHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapDynamicPropertyHandler()
Method Detail |
---|
public String[] getPropertyNames(Object object)
DynamicPropertyHandler
getPropertyNames
in interface DynamicPropertyHandler
object
- to inspect
public Object getProperty(Object object, String propertyName)
DynamicPropertyHandler
getProperty
in interface DynamicPropertyHandler
object
- to searchpropertyName
- to retrieve
public void setProperty(Object object, String propertyName, Object value)
DynamicPropertyHandler
setProperty
in interface DynamicPropertyHandler
object
- to modifypropertyName
- to modifyvalue
- to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |