JBoss Marshalling 1.3.18.GA

org.jboss.marshalling.river
Class RiverUnmarshaller

java.lang.Object
  extended by java.io.InputStream
      extended by org.jboss.marshalling.SimpleByteInput
          extended by org.jboss.marshalling.ByteInputStream
              extended by org.jboss.marshalling.SimpleDataInput
                  extended by org.jboss.marshalling.AbstractObjectInput
                      extended by org.jboss.marshalling.AbstractUnmarshaller
                          extended by org.jboss.marshalling.river.RiverUnmarshaller
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ByteInput, Unmarshaller

public class RiverUnmarshaller
extends AbstractUnmarshaller


Field Summary
 
Fields inherited from class org.jboss.marshalling.AbstractUnmarshaller
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, externalizerCreator, objectResolver, objectTable, serializabilityChecker, serializedCreator, streamHeader
 
Fields inherited from class org.jboss.marshalling.SimpleDataInput
buffer, limit, position
 
Fields inherited from class org.jboss.marshalling.ByteInputStream
byteInput
 
Constructor Summary
protected RiverUnmarshaller(RiverMarshallerFactory marshallerFactory, SerializableClassRegistry registry, MarshallingConfiguration configuration)
           
 
Method Summary
 void clearClassCache()
           
 void clearInstanceCache()
           
 void close()
           
protected  Object doReadNewObject(int streamClassType, boolean unshared)
           
protected  Object doReadObject(boolean unshared)
           
 void finish()
           
protected  void readFields(Object obj, SerializableClassDescriptor descriptor)
           
protected  String readString()
           
 String readUTF()
           
 void start(ByteInput byteInput)
           
 
Methods inherited from class org.jboss.marshalling.AbstractObjectInput
readObject, readObject, readObjectUnshared, readObjectUnshared
 
Methods inherited from class org.jboss.marshalling.SimpleDataInput
available, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, skip, skipBytes
 
Methods inherited from class java.io.InputStream
mark, markSupported, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.marshalling.Unmarshaller
readObject, readObjectUnshared, readObjectUnshared
 
Methods inherited from interface java.io.ObjectInput
available, read, read, read, readObject, skip
 
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, skipBytes
 
Methods inherited from interface org.jboss.marshalling.ByteInput
available, read, read, read, skip
 

Constructor Detail

RiverUnmarshaller

protected RiverUnmarshaller(RiverMarshallerFactory marshallerFactory,
                            SerializableClassRegistry registry,
                            MarshallingConfiguration configuration)
Method Detail

clearInstanceCache

public void clearInstanceCache()
                        throws IOException
Throws:
IOException

clearClassCache

public void clearClassCache()
                     throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface ObjectInput
Overrides:
close in class SimpleDataInput
Throws:
IOException

finish

public void finish()
            throws IOException
Specified by:
finish in interface Unmarshaller
Overrides:
finish in class AbstractUnmarshaller
Throws:
IOException

doReadObject

protected Object doReadObject(boolean unshared)
                       throws ClassNotFoundException,
                              IOException
Specified by:
doReadObject in class AbstractObjectInput
Throws:
ClassNotFoundException
IOException

readString

protected String readString()
                     throws IOException
Throws:
IOException

start

public void start(ByteInput byteInput)
           throws IOException
Specified by:
start in interface Unmarshaller
Overrides:
start in class AbstractUnmarshaller
Throws:
IOException

doReadNewObject

protected Object doReadNewObject(int streamClassType,
                                 boolean unshared)
                          throws ClassNotFoundException,
                                 IOException
Throws:
ClassNotFoundException
IOException

readFields

protected void readFields(Object obj,
                          SerializableClassDescriptor descriptor)
                   throws IOException,
                          ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readUTF

public String readUTF()
               throws IOException
Specified by:
readUTF in interface DataInput
Overrides:
readUTF in class SimpleDataInput
Throws:
IOException

JBoss Marshalling 1.3.18.GA

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