public class XStreamBandanaSerializer extends Object implements BandanaSerializer
Constructor and Description |
---|
XStreamBandanaSerializer(com.thoughtworks.xstream.XStream xStream) |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(Reader reader)
Deserialize an object.
|
void |
serialize(Object obj,
Writer writer)
Serialize an object.
|
public XStreamBandanaSerializer(com.thoughtworks.xstream.XStream xStream)
public void serialize(Object obj, Writer writer)
BandanaSerializer
serialize
in interface BandanaSerializer
obj
- the object to serializewriter
- a writer to serialize the object topublic Object deserialize(Reader reader)
BandanaSerializer
deserialize
in interface BandanaSerializer
reader
- a reader providing the serialized objectCopyright © 2003–2021 Atlassian. All rights reserved.