Package org.esa.snap.rcp.session
Class XStreamSessionIO
java.lang.Object
org.esa.snap.rcp.session.SessionIO
org.esa.snap.rcp.session.XStreamSessionIO
A Session I/O implementation which uses
XStream
to marshall and unmarshall Session
instances
to and from XML.
Clients may override the createXStream()
in order to create an appropriate XStream
for their session.
- Since:
- BEAM 4.6
- Version:
- $Revision$ $Date$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.thoughtworks.xstream.XStream
readSession
(Reader reader) void
writeSession
(Session session, Writer writer) Methods inherited from class org.esa.snap.rcp.session.SessionIO
getInstance, readSession, setInstance, writeSession
-
Constructor Details
-
XStreamSessionIO
public XStreamSessionIO()
-
-
Method Details
-
createXStream
protected com.thoughtworks.xstream.XStream createXStream() -
readSession
- Specified by:
readSession
in classSessionIO
-
writeSession
- Specified by:
writeSession
in classSessionIO
-