public interface ConfluenceXStream
XStream
directly to take advantages of
Confluence's XStream storage backward-compatibility.Modifier and Type | Method and Description |
---|---|
Object |
fromXML(Reader reader)
Deserialize an object from an XML Reader.
|
Object |
fromXML(String xml)
Deserialize an object from an XML String.
|
String |
toXML(Object obj)
Serialize an object to a pretty-printed XML String.
|
void |
toXML(Object obj,
Writer writer)
Serialize an object to the given Writer as pretty-printed XML.
|
String toXML(Object obj)
com.thoughtworks.xstream.XStreamException
- if the object cannot be serializedvoid toXML(Object obj, Writer writer)
com.thoughtworks.xstream.XStreamException
- if the object cannot be serializedObject fromXML(String xml)
com.thoughtworks.xstream.XStreamException
- if the object cannot be deserializedCopyright © 2003–2023 Atlassian. All rights reserved.