public class DoubleSerializer extends Object implements Serializer
Constructor and Description |
---|
DoubleSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(net.sf.juffrou.xml.internal.io.JuffrouReader reader,
JuffrouBeanWrapper 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,
JuffrouBeanWrapper valueOwner,
String valuePropertyName)
Serializes a bean property and writes it.
|
public void serialize(net.sf.juffrou.xml.internal.io.JuffrouWriter writer, JuffrouBeanWrapper valueOwner, String valuePropertyName)
Serializer
serialize
in interface Serializer
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 objectpublic void deserialize(net.sf.juffrou.xml.internal.io.JuffrouReader reader, JuffrouBeanWrapper valueOwner, String valuePropertyName)
Serializer
deserialize
in interface Serializer
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.