com.thoughtworks.xstream.converters.javabean
Interface JavaBeanProvider

All Known Implementing Classes:
BeanProvider

public interface JavaBeanProvider

Since:
1.4
Author:
Jörg Schaible

Nested Class Summary
static interface JavaBeanProvider.Visitor
           
 
Method Summary
 boolean canInstantiate(Class type)
          Returns true if the Bean provider can instantiate the specified class
 Class getPropertyType(Object object, String name)
           
 Object newInstance(Class type)
           
 boolean propertyDefinedInClass(String name, Class type)
           
 void visitSerializableProperties(Object object, JavaBeanProvider.Visitor visitor)
           
 void writeProperty(Object object, String propertyName, Object value)
           
 

Method Detail

newInstance

Object newInstance(Class type)

visitSerializableProperties

void visitSerializableProperties(Object object,
                                 JavaBeanProvider.Visitor visitor)

writeProperty

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

getPropertyType

Class getPropertyType(Object object,
                      String name)

propertyDefinedInClass

boolean propertyDefinedInClass(String name,
                               Class type)

canInstantiate

boolean canInstantiate(Class type)
Returns true if the Bean provider can instantiate the specified class



Copyright © 2004-2014 XStream. All Rights Reserved.