| Modifier and Type | Class and Description |
|---|---|
| public static interface | BeanProvider.Visitor
Deprecated
As of 1.4 use
JavaBeanProvider.
|
| Modifier and Type | Field and Description |
|---|---|
| protected static final Object[] | NO_PARAMS
Deprecated
As of 1.4.6
|
| protected PropertyDictionary |
| Access | Constructor and Description |
|---|---|
| public | BeanProvider()
Construct a BeanProvider that will process the bean properties in their natural order. |
| public | BeanProvider(final Comparator<T>
the comparator propertyNameComparator)Construct a BeanProvider with a comparator to sort the bean properties by name in the dictionary. |
| public | BeanProvider(final PropertyDictionary
the property dictionary to use propertyDictionary)Construct a BeanProvider with a provided property dictionary. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canInstantiate(Class<T> type)
Implements com. |
| protected boolean | |
| protected Constructor | getDefaultConstrutor(Class<T> type)
Deprecated
As of 1.4.6 use
Returns the default constructor, or null if none is found
newInstance(Class) or canInstantiate(Class) directly.
|
| protected PropertyDescriptor | |
| public Class | getPropertyType(Object object, String name)
Implements com. |
| protected PropertyDescriptor[] | |
| public Object | |
| public boolean | |
| public boolean | |
| public void | |
| public void | writeProperty(Object object, String propertyName, Object value)
Implements com. |
| NO_PARAMS | back to summary |
|---|---|
| protected static final Object[] NO_PARAMS
Deprecated As of 1.4.6 | |
| propertyDictionary | back to summary |
|---|---|
| protected PropertyDictionary propertyDictionary | |
| BeanProvider | back to summary |
|---|---|
| public BeanProvider() Construct a BeanProvider that will process the bean properties in their natural order. | |
| BeanProvider | back to summary |
|---|---|
| public BeanProvider(final Comparator<T> propertyNameComparator) Construct a BeanProvider with a comparator to sort the bean properties by name in the dictionary.
| |
| BeanProvider | back to summary |
|---|---|
| public BeanProvider(final PropertyDictionary propertyDictionary) Construct a BeanProvider with a provided property dictionary.
| |
| canInstantiate | back to summary |
|---|---|
| public boolean canInstantiate(Class<T> type) Implements com. Returns true if the Bean provider can instantiate the specified class | |
| canStreamProperty | back to summary |
|---|---|
| protected boolean canStreamProperty(PropertyDescriptor descriptor) | |
| getDefaultConstrutor | back to summary |
|---|---|
| protected Constructor Deprecated As of 1.4.6 use Returns the default constructor, or null if none is found | |
| getProperty | back to summary |
|---|---|
| protected PropertyDescriptor getProperty(String name, Class<T> type) | |
| getPropertyType | back to summary |
|---|---|
| public Class Implements com. | |
| getSerializableProperties | back to summary |
|---|---|
| protected PropertyDescriptor[] getSerializableProperties(Object object) | |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Class<T> type) Implements com. | |
| propertyDefinedInClass | back to summary |
|---|---|
| public boolean propertyDefinedInClass(String name, Class<T> type) Implements com. | |
| propertyWriteable | back to summary |
|---|---|
| public boolean propertyWriteable(String name, Class<T> type) | |
| visitSerializableProperties | back to summary |
|---|---|
| public void visitSerializableProperties(Object object, JavaBeanProvider. Implements com. | |
| writeProperty | back to summary |
|---|---|
| public void writeProperty(Object object, String propertyName, Object value) Implements com. | |
Deprecated
As of 1.4 use JavaBeanProvider.