Package org.jboss.marshalling.serial
Class SerialMarshaller
java.lang.Object
java.io.OutputStream
org.jboss.marshalling.SimpleByteOutput
org.jboss.marshalling.ByteOutputStream
org.jboss.marshalling.SimpleDataOutput
org.jboss.marshalling.AbstractObjectOutput
org.jboss.marshalling.AbstractMarshaller
org.jboss.marshalling.serial.SerialMarshaller
- All Implemented Interfaces:
Closeable,DataOutput,Flushable,ObjectOutput,ObjectStreamConstants,AutoCloseable,org.jboss.marshalling.ByteOutput,org.jboss.marshalling.Marshaller
public final class SerialMarshaller
extends org.jboss.marshalling.AbstractMarshaller
implements org.jboss.marshalling.Marshaller
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class org.jboss.marshalling.AbstractMarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeaderFields inherited from class org.jboss.marshalling.SimpleDataOutput
bufferFields inherited from class org.jboss.marshalling.ByteOutputStream
byteOutputFields 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, SERIAL_FILTER_PERMISSION, 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected voiddoWriteFields(org.jboss.marshalling.reflect.SerializableClass info, Object obj) protected voiddoWriteObject(Object orig, boolean unshared) voidfinish()voidflush()voidstart(org.jboss.marshalling.ByteOutput byteOutput) Methods inherited from class org.jboss.marshalling.AbstractMarshaller
close, writeObject, writeObjectUnsharedMethods inherited from class org.jboss.marshalling.SimpleDataOutput
shallowFlush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from class java.io.OutputStream
nullOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.marshalling.ByteOutput
write, write, writeMethods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from interface org.jboss.marshalling.Marshaller
writeObjectUnsharedMethods inherited from interface java.io.ObjectOutput
close, write, write, write, writeObject
-
Field Details
-
TC_CLASSTABLEDESC
static final int TC_CLASSTABLEDESC- See Also:
-
TC_OBJECTTABLE
static final int TC_OBJECTTABLE- See Also:
-
-
Method Details
-
doWriteObject
- Specified by:
doWriteObjectin classorg.jboss.marshalling.AbstractObjectOutput- Throws:
IOException
-
doWriteFields
protected void doWriteFields(org.jboss.marshalling.reflect.SerializableClass info, Object obj) throws IOException - Throws:
IOException
-
clearInstanceCache
- Specified by:
clearInstanceCachein interfaceorg.jboss.marshalling.Marshaller- Throws:
IOException
-
clearClassCache
- Specified by:
clearClassCachein interfaceorg.jboss.marshalling.Marshaller- Throws:
IOException
-
start
- Specified by:
startin interfaceorg.jboss.marshalling.Marshaller- Overrides:
startin classorg.jboss.marshalling.AbstractMarshaller- Throws:
IOException
-
finish
- Specified by:
finishin interfaceorg.jboss.marshalling.Marshaller- Overrides:
finishin classorg.jboss.marshalling.AbstractMarshaller- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin interfaceObjectOutput- Overrides:
flushin classorg.jboss.marshalling.SimpleDataOutput- Throws:
IOException
-