de.netseeker.ejoe.adapter.commercial
Class JSXAdapter

java.lang.Object
  extended by de.netseeker.ejoe.adapter.BaseAdapter
      extended by de.netseeker.ejoe.adapter.commercial.JSXAdapter
All Implemented Interfaces:
SerializeAdapter, java.io.Serializable

public class JSXAdapter
extends BaseAdapter

Simple (de)serialize adapter using the JSX (Java Serialization to XML)

Since:
0.3.9.1
Author:
netseeker
See Also:
http://javaserializationtoxml.com, Serialized Form

Constructor Summary
JSXAdapter()
           
 
Method Summary
 java.lang.Object read(java.io.InputStream in)
          Deserializes an object out of an given InputStream
 void write(java.lang.Object obj, java.io.OutputStream out)
          Serializes an object into an output stream
 
Methods inherited from class de.netseeker.ejoe.adapter.BaseAdapter
getContentType, handleClassLoaderChange, isSelfBuffered, requiresCustomEOFHandling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSXAdapter

public JSXAdapter()
Method Detail

read

public java.lang.Object read(java.io.InputStream in)
                      throws java.io.IOException
Description copied from interface: SerializeAdapter
Deserializes an object out of an given InputStream

Parameters:
in - the input stream to use for deserialization
Returns:
a deserialized object instance
Throws:
java.io.IOException

write

public void write(java.lang.Object obj,
                  java.io.OutputStream out)
           throws java.io.IOException
Description copied from interface: SerializeAdapter
Serializes an object into an output stream

Parameters:
obj - object that should get serialized
out - the outputstream into which the object should serialized
Throws:
java.io.IOException


Copyright © 2005-2007 netseeker. All Rights Reserved.