|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Probe
A Probe is an object that is used to work with beans, DOM objects, or other objects.
Method Summary | |
---|---|
Object |
getObject(Object object,
String name)
Gets an Object property from another object |
Class |
getPropertyTypeForGetter(Object object,
String name)
Returns the class that the getter will return when reading a property |
Class |
getPropertyTypeForSetter(Object object,
String name)
Returns the class that the setter expects when setting a property |
boolean |
hasReadableProperty(Object object,
String propertyName)
Checks to see if an object has a readable property by a given name |
boolean |
hasWritableProperty(Object object,
String propertyName)
Checks to see if an object has a writable property by a given name |
void |
setObject(Object object,
String name,
Object value)
Sets the value of a property on an object |
Method Detail |
---|
Object getObject(Object object, String name)
object
- - the objectname
- - the property name
void setObject(Object object, String name, Object value)
object
- - the object to changename
- - the name of the property to setvalue
- - the new value to setClass getPropertyTypeForSetter(Object object, String name)
object
- - the object to checkname
- - the name of the property
Class getPropertyTypeForGetter(Object object, String name)
object
- - the object to checkname
- - the name of the property
boolean hasWritableProperty(Object object, String propertyName)
object
- - the object to checkpropertyName
- - the property to check for
boolean hasReadableProperty(Object object, String propertyName)
object
- - the object to checkpropertyName
- - the property to check for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |