Interface JavaBeanProvider
-
- All Known Implementing Classes:
BeanProvider
public interface JavaBeanProvider
- Since:
- 1.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
JavaBeanProvider.Visitor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canInstantiate(java.lang.Class type)
Returns true if the Bean provider can instantiate the specified classjava.lang.Class
getPropertyType(java.lang.Object object, java.lang.String name)
java.lang.Object
newInstance(java.lang.Class type)
boolean
propertyDefinedInClass(java.lang.String name, java.lang.Class type)
void
visitSerializableProperties(java.lang.Object object, JavaBeanProvider.Visitor visitor)
void
writeProperty(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
-
-