Interface JavaBeanProvider
-
- All Known Implementing Classes:
BeanProvider
public interface JavaBeanProvider- Since:
- 1.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceJavaBeanProvider.Visitor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanInstantiate(java.lang.Class type)Returns true if the Bean provider can instantiate the specified classjava.lang.ClassgetPropertyType(java.lang.Object object, java.lang.String name)java.lang.ObjectnewInstance(java.lang.Class type)booleanpropertyDefinedInClass(java.lang.String name, java.lang.Class type)voidvisitSerializableProperties(java.lang.Object object, JavaBeanProvider.Visitor visitor)voidwriteProperty(java.lang.Object object, java.lang.String propertyName, java.lang.Object value)
-
-
-
Method Detail
-
newInstance
java.lang.Object newInstance(java.lang.Class type)
-
visitSerializableProperties
void visitSerializableProperties(java.lang.Object object, JavaBeanProvider.Visitor visitor)
-
writeProperty
void writeProperty(java.lang.Object object, java.lang.String propertyName, java.lang.Object value)
-
getPropertyType
java.lang.Class getPropertyType(java.lang.Object object, java.lang.String name)
-
propertyDefinedInClass
boolean propertyDefinedInClass(java.lang.String name, java.lang.Class type)
-
canInstantiate
boolean canInstantiate(java.lang.Class type)
Returns true if the Bean provider can instantiate the specified class
-
-