Package org.jboss.marshalling.river
Class RiverMarshaller
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.river.RiverMarshaller
- All Implemented Interfaces:
Closeable,DataOutput,Flushable,ObjectOutput,AutoCloseable,org.jboss.marshalling.ByteOutput,org.jboss.marshalling.Marshaller
public class RiverMarshaller
extends org.jboss.marshalling.AbstractMarshaller
-
Field Summary
Fields inherited from class org.jboss.marshalling.AbstractMarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeaderFields inherited from class org.jboss.marshalling.SimpleDataOutput
buffer, bufferSizeFields inherited from class org.jboss.marshalling.ByteOutputStream
byteOutput -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRiverMarshaller(RiverMarshallerFactory marshallerFactory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected voiddoWriteEmptyFields(org.jboss.marshalling.reflect.SerializableClass info) protected voiddoWriteFields(org.jboss.marshalling.reflect.SerializableClass info, Object obj) protected voiddoWriteObject(Object original, boolean unshared) protected voiddoWriteSerializableObject(org.jboss.marshalling.reflect.SerializableClass info, Object obj, Class<?> objClass) protected org.jboss.marshalling.river.BlockMarshallerprotected ObjectOutputvoidstart(org.jboss.marshalling.ByteOutput byteOutput) protected voidwriteClass(Class<?> objClass) protected voidwriteClassClass(Class<?> classObj) protected voidwriteEnumClass(Class<? extends Enum> objClass) protected voidwriteExternalizableClass(Class<?> objClass) protected voidwriteExternalizerClass(Class<?> objClass, org.jboss.marshalling.Externalizer externalizer) protected booleanwriteKnownClass(Class<?> objClass, boolean isSuper) protected voidwriteNewClass(Class<?> objClass) protected voidwriteNewEnumClass(Class<? extends Enum> objClass) protected voidwriteNewExternalizableClass(Class<?> objClass) protected voidwriteNewExternalizerClass(Class<?> objClass, org.jboss.marshalling.Externalizer externalizer) protected voidwriteNewProxyClass(Class<?> objClass) protected voidwriteNewSerializableClass(Class<?> objClass) protected voidwriteNewSerialSuperClass(Class<?> objClass) protected voidwriteObjectArrayClass(Class<?> objClass) protected voidwriteProxyClass(Class<?> objClass) protected voidwriteSerializableClass(Class<?> objClass, boolean isSuper) protected voidwriteSerialSuperClass(Class<?> objClass) voidMethods inherited from class org.jboss.marshalling.AbstractMarshaller
close, finish, writeObject, writeObjectUnsharedMethods inherited from class org.jboss.marshalling.SimpleDataOutput
flush, shallowFlush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShortMethods 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, writeShortMethods inherited from interface java.io.ObjectOutput
flush, write, write, write
-
Constructor Details
-
RiverMarshaller
protected RiverMarshaller(RiverMarshallerFactory marshallerFactory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration configuration) throws IOException - Throws:
IOException
-
-
Method Details
-
doWriteObject
- Specified by:
doWriteObjectin classorg.jboss.marshalling.AbstractObjectOutput- Throws:
IOException
-
getObjectOutput
-
getBlockMarshaller
protected org.jboss.marshalling.river.BlockMarshaller getBlockMarshaller() -
doWriteSerializableObject
protected void doWriteSerializableObject(org.jboss.marshalling.reflect.SerializableClass info, Object obj, Class<?> objClass) throws IOException - Throws:
IOException
-
doWriteFields
protected void doWriteFields(org.jboss.marshalling.reflect.SerializableClass info, Object obj) throws IOException - Throws:
IOException
-
doWriteEmptyFields
protected void doWriteEmptyFields(org.jboss.marshalling.reflect.SerializableClass info) throws IOException - Throws:
IOException
-
writeProxyClass
- Throws:
IOException
-
writeNewProxyClass
- Throws:
IOException
-
writeEnumClass
- Throws:
IOException
-
writeNewEnumClass
- Throws:
IOException
-
writeClassClass
- Throws:
IOException
-
writeObjectArrayClass
- Throws:
IOException
-
writeClass
- Throws:
IOException
-
writeSerialSuperClass
- Throws:
IOException
-
writeNewClass
- Throws:
IOException
-
writeNewSerialSuperClass
- Throws:
IOException
-
writeKnownClass
- Throws:
IOException
-
writeSerializableClass
- Throws:
IOException
-
writeNewSerializableClass
- Throws:
IOException
-
writeExternalizableClass
- Throws:
IOException
-
writeNewExternalizableClass
- Throws:
IOException
-
writeExternalizerClass
protected void writeExternalizerClass(Class<?> objClass, org.jboss.marshalling.Externalizer externalizer) throws IOException - Throws:
IOException
-
writeNewExternalizerClass
protected void writeNewExternalizerClass(Class<?> objClass, org.jboss.marshalling.Externalizer externalizer) throws IOException - Throws:
IOException
-
clearInstanceCache
- Throws:
IOException
-
clearClassCache
- Throws:
IOException
-
start
- Specified by:
startin interfaceorg.jboss.marshalling.Marshaller- Overrides:
startin classorg.jboss.marshalling.AbstractMarshaller- Throws:
IOException
-
writeUTF
- Specified by:
writeUTFin interfaceDataOutput- Overrides:
writeUTFin classorg.jboss.marshalling.SimpleDataOutput- Throws:
IOException
-