public class PropertyGetter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
PropertyGetter.PropertyCallback |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Object[] |
NULL_ARG |
protected java.lang.Object |
obj |
protected java.beans.PropertyDescriptor[] |
props |
Constructor and Description |
---|
PropertyGetter(java.lang.Object obj)
Create a new PropertyGetter for the specified Object.
|
Modifier and Type | Method and Description |
---|---|
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)