public class PropertyGetter extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PropertyGetter.PropertyCallback |
Modifier and Type | Field and Description |
---|---|
protected static Object[] |
NULL_ARG |
protected Object |
obj |
protected PropertyDescriptor[] |
props |
Constructor and Description |
---|
PropertyGetter(Object obj)
Create a new PropertyGetter for the specified Object.
|
Modifier and Type | Method and Description |
---|---|
static void |
getProperties(Object obj,
PropertyGetter.PropertyCallback callback,
String prefix) |
void |
getProperties(PropertyGetter.PropertyCallback callback,
String prefix) |
protected boolean |
isHandledType(Class type) |
protected static final Object[] NULL_ARG
protected Object obj
protected PropertyDescriptor[] props
public PropertyGetter(Object obj) throws IntrospectionException
getProperties(PropertyGetter.PropertyCallback, String)
one or more times.obj
- the object for which to set propertiesIntrospectionException
public static void getProperties(Object obj, PropertyGetter.PropertyCallback callback, String prefix)
public void getProperties(PropertyGetter.PropertyCallback callback, String prefix)
protected boolean isHandledType(Class type)
Copyright © 1999–2023 QOS.CH Sarl (Switzerland). All rights reserved.