Package org.esa.snap.rcp.session
Class XStreamSessionIO
- java.lang.Object
-
- org.esa.snap.rcp.session.SessionIO
-
- org.esa.snap.rcp.session.XStreamSessionIO
-
public class XStreamSessionIO extends SessionIO
A Session I/O implementation which usesXStreamto marshall and unmarshallSessioninstances to and from XML.Clients may override the
createXStream()in order to create an appropriateXStreamfor their session.- Since:
- BEAM 4.6
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description XStreamSessionIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.thoughtworks.xstream.XStreamcreateXStream()SessionreadSession(Reader reader)voidwriteSession(Session session, Writer writer)-
Methods inherited from class org.esa.snap.rcp.session.SessionIO
getInstance, readSession, setInstance, writeSession
-
-
-
-
Method Detail
-
createXStream
protected com.thoughtworks.xstream.XStream createXStream()
-
readSession
public Session readSession(Reader reader)
- Specified by:
readSessionin classSessionIO
-
writeSession
public void writeSession(Session session, Writer writer)
- Specified by:
writeSessionin classSessionIO
-
-