java.io.Closeable, java.io.DataOutput, java.io.Flushable, java.io.ObjectOutput, java.lang.AutoCloseable, ByteOutput, Marshallerpublic final class SerialMarshaller extends AbstractMarshaller implements Marshaller
| Modifier and Type | Field | Description |
|---|---|---|
static int |
TC_CLASSTABLEDESC |
|
static int |
TC_OBJECTTABLE |
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeaderbyteOutputbaseWireHandle, 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_STRINGbuffer| Modifier and Type | Method | Description |
|---|---|---|
void |
clearClassCache() |
|
void |
clearInstanceCache() |
|
protected void |
doWriteFields(SerializableClass info,
java.lang.Object obj) |
|
protected void |
doWriteObject(java.lang.Object orig,
boolean unshared) |
|
void |
finish() |
|
void |
flush() |
|
void |
start(ByteOutput byteOutput) |
close, writeObject, writeObjectUnsharedwrite, write, writewriteBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFwriteObjectUnsharedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshallowFlush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic static final int TC_CLASSTABLEDESC
public static final int TC_OBJECTTABLE
protected void doWriteObject(java.lang.Object orig,
boolean unshared)
throws java.io.IOException
doWriteObject in class AbstractObjectOutputjava.io.IOExceptionprotected void doWriteFields(SerializableClass info, java.lang.Object obj) throws java.io.IOException
java.io.IOExceptionpublic void clearInstanceCache()
throws java.io.IOException
clearInstanceCache in interface Marshallerjava.io.IOExceptionpublic void clearClassCache()
throws java.io.IOException
clearClassCache in interface Marshallerjava.io.IOExceptionpublic void start(ByteOutput byteOutput) throws java.io.IOException
start in interface Marshallerstart in class AbstractMarshallerjava.io.IOExceptionpublic void finish()
throws java.io.IOException
finish in interface Marshallerfinish in class AbstractMarshallerjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in interface java.io.ObjectOutputflush in class SimpleDataOutputjava.io.IOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.