JBoss Marshalling 1.3.0.GA

org.jboss.marshalling.river
Class RiverObjectInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.ObjectInputStream
          extended by org.jboss.marshalling.MarshallerObjectInputStream
              extended by org.jboss.marshalling.river.RiverObjectInputStream
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput, java.io.ObjectInput, java.io.ObjectStreamConstants, ByteInput

public class RiverObjectInputStream
extends MarshallerObjectInputStream


Nested Class Summary
protected static class RiverObjectInputStream.State
           
 
Nested classes/interfaces inherited from class java.io.ObjectInputStream
java.io.ObjectInputStream.GetField
 
Field Summary
 
Fields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, 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_STRING
 
Constructor Summary
protected RiverObjectInputStream(RiverUnmarshaller riverUnmarshaller, BlockUnmarshaller delegateUnmarshaller)
           
 
Method Summary
 void defaultReadObject()
          
protected  void finish(RiverObjectInputStream.State restoreState)
           
protected  void fullReset()
           
protected  int getRestoreIdx()
           
protected  void noCustomData()
           
 java.io.ObjectInputStream.GetField readFields()
          
 void registerValidation(java.io.ObjectInputValidation obj, int prio)
          
protected  RiverObjectInputStream.State start()
           
protected  SerializableClassDescriptor swapClass(SerializableClassDescriptor descriptor)
           
protected  java.lang.Object swapCurrent(java.lang.Object obj)
           
 
Methods inherited from class org.jboss.marshalling.MarshallerObjectInputStream
available, close, enableResolveObject, mark, markSupported, read, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, reset, resolveClass, resolveObject, resolveProxyClass, skip, skipBytes
 
Methods inherited from class java.io.ObjectInputStream
readObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiverObjectInputStream

protected RiverObjectInputStream(RiverUnmarshaller riverUnmarshaller,
                                 BlockUnmarshaller delegateUnmarshaller)
                          throws java.io.IOException,
                                 java.lang.SecurityException
Throws:
java.io.IOException
java.lang.SecurityException
Method Detail

defaultReadObject

public void defaultReadObject()
                       throws java.io.IOException,
                              java.lang.ClassNotFoundException
Description copied from class: MarshallerObjectInputStream

Specified by:
defaultReadObject in class MarshallerObjectInputStream
Throws:
java.io.IOException
java.lang.ClassNotFoundException

readFields

public java.io.ObjectInputStream.GetField readFields()
                                              throws java.io.IOException,
                                                     java.lang.ClassNotFoundException
Description copied from class: MarshallerObjectInputStream

Specified by:
readFields in class MarshallerObjectInputStream
Throws:
java.io.IOException
java.lang.ClassNotFoundException

registerValidation

public void registerValidation(java.io.ObjectInputValidation obj,
                               int prio)
                        throws java.io.NotActiveException,
                               java.io.InvalidObjectException
Description copied from class: MarshallerObjectInputStream

Specified by:
registerValidation in class MarshallerObjectInputStream
Throws:
java.io.NotActiveException
java.io.InvalidObjectException

swapClass

protected SerializableClassDescriptor swapClass(SerializableClassDescriptor descriptor)

swapCurrent

protected java.lang.Object swapCurrent(java.lang.Object obj)

start

protected RiverObjectInputStream.State start()

finish

protected void finish(RiverObjectInputStream.State restoreState)
               throws java.io.IOException
Throws:
java.io.IOException

fullReset

protected void fullReset()

noCustomData

protected void noCustomData()

getRestoreIdx

protected int getRestoreIdx()

JBoss Marshalling 1.3.0.GA

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