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 Details

  • Method Details

    • doWriteObject

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

      protected void doWriteFields(org.jboss.marshalling.reflect.SerializableClass info, Object obj) throws IOException
      Throws:
      IOException
    • clearInstanceCache

      public void clearInstanceCache() throws IOException
      Specified by:
      clearInstanceCache in interface org.jboss.marshalling.Marshaller
      Throws:
      IOException
    • clearClassCache

      public void clearClassCache() throws IOException
      Specified by:
      clearClassCache in interface org.jboss.marshalling.Marshaller
      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
    • finish

      public void finish() throws IOException
      Specified by:
      finish in interface org.jboss.marshalling.Marshaller
      Overrides:
      finish in class org.jboss.marshalling.AbstractMarshaller
      Throws:
      IOException
    • flush

      public void flush() throws IOException
      Specified by:
      flush in interface Flushable
      Specified by:
      flush in interface ObjectOutput
      Overrides:
      flush in class org.jboss.marshalling.SimpleDataOutput
      Throws:
      IOException