public class BeanWrapperSerializer extends Object implements Serializer
| Constructor and Description |
|---|
BeanWrapperSerializer(JuffrouBeanMetadata xmlBeanMetadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(net.sf.juffrou.xml.internal.io.JuffrouReader reader,
BeanWrapper valueOwner,
String valuePropertyName)
Reads the serialized form of a bean property and sets its value to the bean.
|
void |
deserializeBeanProperties(net.sf.juffrou.xml.internal.io.JuffrouReader reader,
BeanWrapper instance) |
void |
deserializeElement(net.sf.juffrou.xml.internal.io.JuffrouReader reader,
BeanWrapper instance,
net.sf.juffrou.xml.internal.binding.BeanClassBinding beanClassBinding,
String xmlElementName) |
void |
serialize(net.sf.juffrou.xml.internal.io.JuffrouWriter writer,
BeanWrapper valueOwner,
String valuePropertyName)
Serializes a bean property and writes it.
|
void |
serializeBeanProperties(net.sf.juffrou.xml.internal.io.JuffrouWriter writer,
BeanWrapper bw) |
public BeanWrapperSerializer(JuffrouBeanMetadata xmlBeanMetadata)
public void serialize(net.sf.juffrou.xml.internal.io.JuffrouWriter writer,
BeanWrapper valueOwner,
String valuePropertyName)
Serializerserialize in interface Serializerwriter - the writer to write the object tovalueOwner - bean wrapper that holds the object in one of its propertiesvaluePropertyName - property in the bean wrapper to access the objectpublic void deserialize(net.sf.juffrou.xml.internal.io.JuffrouReader reader,
BeanWrapper valueOwner,
String valuePropertyName)
Serializerdeserialize in interface Serializerreader - the reader from which to readvalueOwner - bean wrapper that holds the object in one of its propertiesvaluePropertyName - property in the bean wrapper to access the objectpublic void serializeBeanProperties(net.sf.juffrou.xml.internal.io.JuffrouWriter writer,
BeanWrapper bw)
public void deserializeBeanProperties(net.sf.juffrou.xml.internal.io.JuffrouReader reader,
BeanWrapper instance)
public void deserializeElement(net.sf.juffrou.xml.internal.io.JuffrouReader reader,
BeanWrapper instance,
net.sf.juffrou.xml.internal.binding.BeanClassBinding beanClassBinding,
String xmlElementName)
Copyright © 2011-2013. All Rights Reserved.