public interface DynamicPropertyHandler
JXPathIntrospector.registerDynamicClass(class, handlerClass)
"myMap/myKey"
"myMap[@name = 'myKey']"
"myMap[name(.) = 'myKey']"
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.
|
String[] getPropertyNames(Object object)
object
- to inspectObject getProperty(Object object, String propertyName)
object
- to searchpropertyName
- to retrievevoid setProperty(Object object, String propertyName, Object value)
object
- to modifypropertyName
- to modifyvalue
- to setCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.