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