public class BeanProvider extends Object
Constructor and Description |
---|
BeanProvider() |
BeanProvider(Comparator propertyNameComparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInstantiate(Class type)
Returns true if the Bean provider can instantiate the specified class
|
protected boolean |
canStreamProperty(PropertyDescriptor descriptor) |
protected Constructor |
getDefaultConstrutor(Class type)
Returns the default constructor, or null if none is found
|
Class |
getPropertyType(Object object,
String name) |
Object |
newInstance(Class type) |
boolean |
propertyDefinedInClass(String name,
Class type) |
boolean |
propertyWriteable(String name,
Class type) |
void |
visitSerializableProperties(Object object,
edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.converters.javabean.BeanProvider.Visitor visitor) |
void |
writeProperty(Object object,
String propertyName,
Object value) |
protected static final Object[] NO_PARAMS
public BeanProvider()
public BeanProvider(Comparator propertyNameComparator)
public void visitSerializableProperties(Object object, edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.converters.javabean.BeanProvider.Visitor visitor)
public boolean canInstantiate(Class type)
protected Constructor getDefaultConstrutor(Class type)
type
- protected boolean canStreamProperty(PropertyDescriptor descriptor)
Copyright © 2016 Internet2. All rights reserved.