| 
 | ||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | |||||||||
public interface Probe
A Probe is an object that is used to work with beans, DOM objects, or other objects.
| 方法摘要 | |
|---|---|
|  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 | 
| 方法详细信息 | 
|---|
java.lang.Object getObject(java.lang.Object object,
                           java.lang.String name)
object - - the objectname - - the property name
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 set
java.lang.Class getPropertyTypeForSetter(java.lang.Object object,
                                         java.lang.String name)
object - - the object to checkname - - the name of the property
java.lang.Class getPropertyTypeForGetter(java.lang.Object object,
                                         java.lang.String name)
object - - the object to checkname - - the name of the property
boolean hasWritableProperty(java.lang.Object object,
                            java.lang.String propertyName)
object - - the object to checkpropertyName - - the property to check for
boolean hasReadableProperty(java.lang.Object object,
                            java.lang.String propertyName)
object - - the object to checkpropertyName - - the property to check for
| 
 | ||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | |||||||||