Top Inners Methods
com.thoughtworks.xstream.converters.javabean

public Interface JavaBeanProvider

Known Direct Implementers
com.thoughtworks.xstream.converters.javabean.BeanProvider

Author
Jörg Schaible
Since
1.4

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Method Summary

Modifier and TypeMethod and Description
public boolean
canInstantiate(Class<T> type)

Returns true if the Bean provider can instantiate the specified class

public Class<T>
public Object
newInstance(Class<T> type)

public boolean
public void
public void
writeProperty(Object object, String propertyName, Object value)

Method Detail

canInstantiateback to summary
public boolean canInstantiate(Class<T> type)

Returns true if the Bean provider can instantiate the specified class

getPropertyTypeback to summary
public Class<T> getPropertyType(Object object, String name)
newInstanceback to summary
public Object newInstance(Class<T> type)
propertyDefinedInClassback to summary
public boolean propertyDefinedInClass(String name, Class<T> type)
visitSerializablePropertiesback to summary
public void visitSerializableProperties(Object object, JavaBeanProvider.Visitor visitor)
writePropertyback to summary
public void writeProperty(Object object, String propertyName, Object value)
com.thoughtworks.xstream.converters.javabean back to summary

public Interface JavaBeanProvider.Visitor

Known Direct Subinterfaces
com.thoughtworks.xstream.converters.javabean.BeanProvider.Visitor

Method Summary

Modifier and TypeMethod and Description
public boolean
shouldVisit(String name, Class<T> definedIn)

public void
visit(String name, Class<T> type, Class<T> definedIn, Object value)

Method Detail

shouldVisitback to summary
public boolean shouldVisit(String name, Class<T> definedIn)
visitback to summary
public void visit(String name, Class<T> type, Class<T> definedIn, Object value)