JBoss Marshalling 1.3.18.GA

org.jboss.marshalling.river
Class RiverMarshaller

java.lang.Object
  extended by java.io.OutputStream
      extended by org.jboss.marshalling.SimpleByteOutput
          extended by org.jboss.marshalling.ByteOutputStream
              extended by org.jboss.marshalling.SimpleDataOutput
                  extended by org.jboss.marshalling.AbstractObjectOutput
                      extended by org.jboss.marshalling.AbstractMarshaller
                          extended by org.jboss.marshalling.river.RiverMarshaller
All Implemented Interfaces:
Closeable, DataOutput, Flushable, ObjectOutput, ByteOutput, Marshaller

public class RiverMarshaller
extends AbstractMarshaller


Field Summary
 
Fields inherited from class org.jboss.marshalling.AbstractMarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, externalizerCreator, objectResolver, objectTable, serializabilityChecker, serializedCreator, streamHeader
 
Fields inherited from class org.jboss.marshalling.SimpleDataOutput
buffer, bufferSize
 
Fields inherited from class org.jboss.marshalling.ByteOutputStream
byteOutput
 
Constructor Summary
protected RiverMarshaller(RiverMarshallerFactory marshallerFactory, SerializableClassRegistry registry, MarshallingConfiguration configuration)
           
 
Method Summary
 void clearClassCache()
           
 void clearInstanceCache()
           
protected  void doWriteFields(SerializableClass info, Object obj)
           
protected  void doWriteObject(Object original, boolean unshared)
           
protected  void doWriteSerializableObject(SerializableClass info, Object obj, Class<?> objClass)
           
protected  BlockMarshaller getBlockMarshaller()
           
protected  ObjectOutput getObjectOutput()
           
 void start(ByteOutput byteOutput)
           
protected  void writeClass(Class<?> objClass)
           
protected  void writeClassClass(Class<?> classObj)
           
protected  void writeEnumClass(Class<? extends Enum> objClass)
           
protected  void writeExternalizableClass(Class<?> objClass)
           
protected  void writeExternalizerClass(Class<?> objClass, Externalizer externalizer)
           
protected  boolean writeKnownClass(Class<?> objClass)
           
protected  void writeNewClass(Class<?> objClass)
           
protected  void writeNewEnumClass(Class<? extends Enum> objClass)
           
protected  void writeNewExternalizableClass(Class<?> objClass)
           
protected  void writeNewExternalizerClass(Class<?> objClass, Externalizer externalizer)
           
protected  void writeNewProxyClass(Class<?> objClass)
           
protected  void writeNewSerializableClass(Class<?> objClass)
           
protected  void writeObjectArrayClass(Class<?> objClass)
           
protected  void writeProxyClass(Class<?> objClass)
           
protected  void writeSerializableClass(Class<?> objClass)
           
 void writeUTF(String string)
           
 
Methods inherited from class org.jboss.marshalling.AbstractMarshaller
close, finish, writeObject, writeObjectUnshared
 
Methods inherited from class org.jboss.marshalling.SimpleDataOutput
flush, shallowFlush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.ObjectOutput
flush, write, write, write
 
Methods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort
 
Methods inherited from interface org.jboss.marshalling.ByteOutput
write, write, write
 
Methods inherited from interface java.io.Flushable
flush
 

Constructor Detail

RiverMarshaller

protected RiverMarshaller(RiverMarshallerFactory marshallerFactory,
                          SerializableClassRegistry registry,
                          MarshallingConfiguration configuration)
                   throws IOException
Throws:
IOException
Method Detail

doWriteObject

protected void doWriteObject(Object original,
                             boolean unshared)
                      throws IOException
Specified by:
doWriteObject in class AbstractObjectOutput
Throws:
IOException

getObjectOutput

protected ObjectOutput getObjectOutput()

getBlockMarshaller

protected BlockMarshaller getBlockMarshaller()

doWriteSerializableObject

protected void doWriteSerializableObject(SerializableClass info,
                                         Object obj,
                                         Class<?> objClass)
                                  throws IOException
Throws:
IOException

doWriteFields

protected void doWriteFields(SerializableClass info,
                             Object obj)
                      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

writeNewClass

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

writeKnownClass

protected boolean writeKnownClass(Class<?> objClass)
                           throws IOException
Throws:
IOException

writeSerializableClass

protected void writeSerializableClass(Class<?> objClass)
                               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,
                                      Externalizer externalizer)
                               throws IOException
Throws:
IOException

writeNewExternalizerClass

protected void writeNewExternalizerClass(Class<?> objClass,
                                         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(ByteOutput byteOutput)
           throws IOException
Specified by:
start in interface Marshaller
Overrides:
start in class AbstractMarshaller
Throws:
IOException

writeUTF

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

JBoss Marshalling 1.3.18.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.