org.jboss.remoting.marshal.serializable
Class SerializableMarshaller

java.lang.Object
  extended byorg.jboss.remoting.marshal.serializable.SerializableMarshaller
All Implemented Interfaces:
Marshaller, Serializable
Direct Known Subclasses:
HTTPMarshaller

public class SerializableMarshaller
extends Object
implements Marshaller

Simple marshaller that simply serializes java objects using standard output stream.

Author:
Tom Elrod
See Also:
Serialized Form

Field Summary
static String DATATYPE
           
 
Constructor Summary
SerializableMarshaller()
           
 
Method Summary
 void write(Object dataObject, OutputStream output)
          Take the data object and write to the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATATYPE

public static final String DATATYPE
See Also:
Constant Field Values
Constructor Detail

SerializableMarshaller

public SerializableMarshaller()
Method Detail

write

public void write(Object dataObject,
                  OutputStream output)
           throws IOException
Take the data object and write to the output. Has ben customized for working with ObjectOutputStreams since requires extra messaging.

Specified by:
write in interface Marshaller
Parameters:
dataObject - Object to be writen to output
output - The data output to write the object data to.
Throws:
IOException


Copyright © 2004 JBoss Inc. All Rights Reserved.