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(JuffrouReader reader,
JuffrouBeanWrapper valueOwner,
String valuePropertyName)
Reads the serialized form of a bean property and sets its value to the bean.
|
void |
serialize(JuffrouWriter writer,
JuffrouBeanWrapper valueOwner,
String valuePropertyName)
Serializes a bean property and writes it.
|
void serialize(JuffrouWriter writer, JuffrouBeanWrapper 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(JuffrouReader reader, JuffrouBeanWrapper 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–2020 Juffrou. All rights reserved.