JBoss Marshalling 1.3.18.GA

org.jboss.marshalling.serial
Class SerialUnmarshaller

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.serial.SerialUnmarshaller
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ObjectStreamConstants, ByteInput, ExtendedObjectStreamConstants, Unmarshaller

public final class SerialUnmarshaller
extends AbstractUnmarshaller
implements Unmarshaller, ExtendedObjectStreamConstants


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
 
Fields inherited from interface org.jboss.marshalling.serial.ExtendedObjectStreamConstants
TC_CLASSTABLEDESC, TC_OBJECTTABLE
 
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
 
Method Summary
 void clearClassCache()
           
 void clearInstanceCache()
           
 void close()
           
 org.jboss.marshalling.serial.Descriptor descriptorForClass(Class<?> clazz)
           
protected  Object doReadObject(boolean unshared)
           
 void finish()
           
 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, readUTF, 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, readUTF, skipBytes
 
Methods inherited from interface org.jboss.marshalling.ByteInput
available, read, read, read, skip
 

Method Detail

doReadObject

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

clearInstanceCache

public void clearInstanceCache()
                        throws IOException
Specified by:
clearInstanceCache in interface Unmarshaller
Throws:
IOException

clearClassCache

public void clearClassCache()
                     throws IOException
Specified by:
clearClassCache in interface Unmarshaller
Throws:
IOException

start

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

finish

public void finish()
            throws IOException
Specified by:
finish in interface Unmarshaller
Overrides:
finish in class AbstractUnmarshaller
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

descriptorForClass

public org.jboss.marshalling.serial.Descriptor descriptorForClass(Class<?> clazz)

JBoss Marshalling 1.3.18.GA

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