public interface Serializer
The target of serialization is a bean property and is presented through a bean wrapper and a property name.
| 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 |
serialize(net.sf.juffrou.xml.internal.io.JuffrouWriter writer,
BeanWrapper valueOwner,
String valuePropertyName)
Serializes a bean property and writes it.
|
void serialize(net.sf.juffrou.xml.internal.io.JuffrouWriter writer,
BeanWrapper valueOwner,
String valuePropertyName)
writer - 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 objectvoid deserialize(net.sf.juffrou.xml.internal.io.JuffrouReader reader,
BeanWrapper valueOwner,
String valuePropertyName)
reader - 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 objectCopyright © 2011-2013. All Rights Reserved.