org.jboss.remoting.marshal.serializable
Class SerializableMarshaller
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATATYPE
public static final String DATATYPE
- See Also:
- Constant Field Values
SerializableMarshaller
public SerializableMarshaller()
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 outputoutput
- The data output to write the object
data to.
- Throws:
IOException
Copyright © 2004 JBoss Inc. All Rights Reserved.