public class PropertyGetter
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
PropertyGetter.PropertyCallback |
限定符和类型 | 字段和说明 |
---|---|
protected static java.lang.Object[] |
NULL_ARG |
protected java.lang.Object |
obj |
protected java.beans.PropertyDescriptor[] |
props |
构造器和说明 |
---|
PropertyGetter(java.lang.Object obj)
Create a new PropertyGetter for the specified Object.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
getProperties(java.lang.Object obj,
PropertyGetter.PropertyCallback callback,
java.lang.String prefix) |
void |
getProperties(PropertyGetter.PropertyCallback callback,
java.lang.String prefix) |
protected boolean |
isHandledType(java.lang.Class type) |
protected static final java.lang.Object[] NULL_ARG
protected java.lang.Object obj
protected java.beans.PropertyDescriptor[] props
public PropertyGetter(java.lang.Object obj) throws java.beans.IntrospectionException
getProperties(PropertyGetter.PropertyCallback, String)
one or
more times.obj
- the object for which to set propertiesjava.beans.IntrospectionException
public static void getProperties(java.lang.Object obj, PropertyGetter.PropertyCallback callback, java.lang.String prefix)
public void getProperties(PropertyGetter.PropertyCallback callback, java.lang.String prefix)
protected boolean isHandledType(java.lang.Class type)