public class XStreamBandanaSerializer extends Object implements BandanaSerializer
Constructor and Description |
---|
XStreamBandanaSerializer(ConfluenceXStream confluenceXStream) |
XStreamBandanaSerializer(com.thoughtworks.xstream.XStream xStream)
Deprecated.
since 7.10.0 Use Bandana Manager directly as it contains deserialization capabilities or
use XStreamBandanaSerializer(ConfluenceXStream confluenceXStream) instead
|
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(Reader reader)
Deserialize an object.
|
void |
serialize(Object obj,
Writer writer)
Serialize an object.
|
@Deprecated public XStreamBandanaSerializer(com.thoughtworks.xstream.XStream xStream)
xStream
- public XStreamBandanaSerializer(ConfluenceXStream confluenceXStream)
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.