|
||||||||||
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 | |
---|---|
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. |
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 java.lang.String[] getPropertyNames(java.lang.Object object)
DynamicPropertyHandler
getPropertyNames
in interface DynamicPropertyHandler
object
- to inspect
public java.lang.Object getProperty(java.lang.Object object, java.lang.String propertyName)
DynamicPropertyHandler
getProperty
in interface DynamicPropertyHandler
object
- to searchpropertyName
- to retrieve
public void setProperty(java.lang.Object object, java.lang.String propertyName, java.lang.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 |