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
  • 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

      protected void doWriteObject(Object original, boolean unshared) throws IOException
      Specified by:
      doWriteObject in class org.jboss.marshalling.AbstractObjectOutput
      Throws:
      IOException
    • getObjectOutput

      protected ObjectOutput 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

      protected void writeProxyClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeNewProxyClass

      protected void writeNewProxyClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeEnumClass

      protected void writeEnumClass(Class<? extends Enum> objClass) throws IOException
      Throws:
      IOException
    • writeNewEnumClass

      protected void writeNewEnumClass(Class<? extends Enum> objClass) throws IOException
      Throws:
      IOException
    • writeClassClass

      protected void writeClassClass(Class<?> classObj) throws IOException
      Throws:
      IOException
    • writeObjectArrayClass

      protected void writeObjectArrayClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeClass

      protected void writeClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeSerialSuperClass

      protected void writeSerialSuperClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeNewClass

      protected void writeNewClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeNewSerialSuperClass

      protected void writeNewSerialSuperClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeKnownClass

      protected boolean writeKnownClass(Class<?> objClass, boolean isSuper) throws IOException
      Throws:
      IOException
    • writeSerializableClass

      protected void writeSerializableClass(Class<?> objClass, boolean isSuper) throws IOException
      Throws:
      IOException
    • writeNewSerializableClass

      protected void writeNewSerializableClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeExternalizableClass

      protected void writeExternalizableClass(Class<?> objClass) throws IOException
      Throws:
      IOException
    • writeNewExternalizableClass

      protected void writeNewExternalizableClass(Class<?> objClass) throws IOException
      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

      public void clearInstanceCache() throws IOException
      Throws:
      IOException
    • clearClassCache

      public void clearClassCache() throws IOException
      Throws:
      IOException
    • start

      public void start(org.jboss.marshalling.ByteOutput byteOutput) throws IOException
      Specified by:
      start in interface org.jboss.marshalling.Marshaller
      Overrides:
      start in class org.jboss.marshalling.AbstractMarshaller
      Throws:
      IOException
    • writeUTF

      public void writeUTF(String string) throws IOException
      Specified by:
      writeUTF in interface DataOutput
      Overrides:
      writeUTF in class org.jboss.marshalling.SimpleDataOutput
      Throws:
      IOException