org.jboss.marshalling.river
Class RiverObjectOutputStream
java.lang.Object
java.io.OutputStream
java.io.ObjectOutputStream
org.jboss.marshalling.MarshallerObjectOutputStream
org.jboss.marshalling.river.RiverObjectOutputStream
- All Implemented Interfaces:
- Closeable, DataOutput, Flushable, ObjectOutput, ObjectStreamConstants, ByteOutput
public class RiverObjectOutputStream
- extends MarshallerObjectOutputStream
| Fields inherited from interface java.io.ObjectStreamConstants |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING |
| Methods inherited from class org.jboss.marshalling.MarshallerObjectOutputStream |
annotateClass, annotateProxyClass, close, drain, enableReplaceObject, flush, replaceObject, reset, useProtocolVersion, writeClassDescriptor, writeStreamHeader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RiverObjectOutputStream
protected RiverObjectOutputStream(Marshaller delegateMarshaller,
RiverMarshaller marshaller)
throws IOException,
SecurityException
- Throws:
IOException
SecurityException
writeFields
public void writeFields()
throws IOException
- Specified by:
writeFields in class MarshallerObjectOutputStream
- Throws:
IOException
putFields
public ObjectOutputStream.PutField putFields()
throws IOException
- Specified by:
putFields in class MarshallerObjectOutputStream
- Throws:
IOException
swapClass
protected SerializableClass swapClass(SerializableClass newSerializableClass)
swapCurrent
protected Object swapCurrent(Object current)
defaultWriteObject
public void defaultWriteObject()
throws IOException
- Specified by:
defaultWriteObject in class MarshallerObjectOutputStream
- Throws:
IOException
start
protected int start()
throws IOException
- Throws:
IOException
writeObjectOverride
protected void writeObjectOverride(Object obj)
throws IOException
- Overrides:
writeObjectOverride in class MarshallerObjectOutputStream
- Throws:
IOException
writeUnshared
public void writeUnshared(Object obj)
throws IOException
- Overrides:
writeUnshared in class MarshallerObjectOutputStream
- Throws:
IOException
write
public void write(int val)
throws IOException
- Specified by:
write in interface DataOutput- Specified by:
write in interface ObjectOutput- Specified by:
write in interface ByteOutput- Overrides:
write in class MarshallerObjectOutputStream
- Throws:
IOException
write
public void write(byte[] buf)
throws IOException
- Specified by:
write in interface DataOutput- Specified by:
write in interface ObjectOutput- Specified by:
write in interface ByteOutput- Overrides:
write in class MarshallerObjectOutputStream
- Throws:
IOException
write
public void write(byte[] buf,
int off,
int len)
throws IOException
- Specified by:
write in interface DataOutput- Specified by:
write in interface ObjectOutput- Specified by:
write in interface ByteOutput- Overrides:
write in class MarshallerObjectOutputStream
- Throws:
IOException
writeBoolean
public void writeBoolean(boolean val)
throws IOException
- Specified by:
writeBoolean in interface DataOutput- Overrides:
writeBoolean in class MarshallerObjectOutputStream
- Throws:
IOException
writeByte
public void writeByte(int val)
throws IOException
- Specified by:
writeByte in interface DataOutput- Overrides:
writeByte in class MarshallerObjectOutputStream
- Throws:
IOException
writeShort
public void writeShort(int val)
throws IOException
- Specified by:
writeShort in interface DataOutput- Overrides:
writeShort in class MarshallerObjectOutputStream
- Throws:
IOException
writeChar
public void writeChar(int val)
throws IOException
- Specified by:
writeChar in interface DataOutput- Overrides:
writeChar in class MarshallerObjectOutputStream
- Throws:
IOException
writeInt
public void writeInt(int val)
throws IOException
- Specified by:
writeInt in interface DataOutput- Overrides:
writeInt in class MarshallerObjectOutputStream
- Throws:
IOException
writeLong
public void writeLong(long val)
throws IOException
- Specified by:
writeLong in interface DataOutput- Overrides:
writeLong in class MarshallerObjectOutputStream
- Throws:
IOException
writeFloat
public void writeFloat(float val)
throws IOException
- Specified by:
writeFloat in interface DataOutput- Overrides:
writeFloat in class MarshallerObjectOutputStream
- Throws:
IOException
writeDouble
public void writeDouble(double val)
throws IOException
- Specified by:
writeDouble in interface DataOutput- Overrides:
writeDouble in class MarshallerObjectOutputStream
- Throws:
IOException
writeBytes
public void writeBytes(String str)
throws IOException
- Specified by:
writeBytes in interface DataOutput- Overrides:
writeBytes in class MarshallerObjectOutputStream
- Throws:
IOException
writeChars
public void writeChars(String str)
throws IOException
- Specified by:
writeChars in interface DataOutput- Overrides:
writeChars in class MarshallerObjectOutputStream
- Throws:
IOException
writeUTF
public void writeUTF(String str)
throws IOException
- Specified by:
writeUTF in interface DataOutput- Overrides:
writeUTF in class MarshallerObjectOutputStream
- Throws:
IOException
finish
protected void finish(int restoreState)
throws IOException
- Throws:
IOException
fullReset
protected void fullReset()
Copyright © 2011 JBoss, a division of Red Hat, Inc.