org.esa.beam.visat.actions.session
Class XStreamSessionIO
java.lang.Object
org.esa.beam.visat.actions.session.SessionIO
org.esa.beam.visat.actions.session.XStreamSessionIO
public class XStreamSessionIO
- extends SessionIO
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$
- Author:
- Norman Fomferra
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XStreamSessionIO
public XStreamSessionIO()
createXStream
protected com.thoughtworks.xstream.XStream createXStream()
readSession
public Session readSession(Reader reader)
throws IOException
- Specified by:
readSession in class SessionIO
- Throws:
IOException
writeSession
public void writeSession(Session session,
Writer writer)
throws IOException
- Specified by:
writeSession in class SessionIO
- Throws:
IOException
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.