sisc.ser
Class BlockDeserializer

java.lang.Object
  extended by sisc.ser.BerEncoding
      extended by sisc.ser.DeserializerImpl
          extended by sisc.ser.SLL2Deserializer
              extended by sisc.ser.BlockDeserializer
All Implemented Interfaces:
java.io.DataInput, java.io.ObjectInput, Deserializer, LibraryDeserializer

public class BlockDeserializer
extends SLL2Deserializer
implements LibraryDeserializer


Field Summary
 
Fields inherited from class sisc.ser.DeserializerImpl
ctx, datin
 
Constructor Summary
BlockDeserializer(AppContext ctx, SeekableDataInputStream input, java.util.Map classes, int[] o, int[] l)
           
 
Method Summary
protected  Expression fetchShared(int oid)
           
 Library getLibrary()
           
 java.lang.Class readClass()
           
protected  void recordReadObject(int definingOid, Expression e)
           
 void setLibrary(Library lib)
           
protected  Expression skipReadObject(boolean flush, int definingOid)
           
 
Methods inherited from class sisc.ser.SLL2Deserializer
deser, readExpression, readExpression, readInitializedExpression, readSymbolicEnvironment
 
Methods inherited from class sisc.ser.DeserializerImpl
available, close, read, read, read, readBigDecimal, readBigInteger, readBoolean, readByte, readChar, readDouble, readExpressionArray, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readShort, readUnsignedByte, readUnsignedShort, readUTF, readValueArray, resolveLibraryBinding, skip, skipBytes
 
Methods inherited from class sisc.ser.BerEncoding
readBer, readBerLong, readBerShort, writeBer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface sisc.ser.Deserializer
readBigDecimal, readBigInteger, readExpression, readExpressionArray, readInitializedExpression, readSymbolicEnvironment, readValueArray
 
Methods inherited from interface java.io.ObjectInput
available, close, 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
 

Constructor Detail

BlockDeserializer

public BlockDeserializer(AppContext ctx,
                         SeekableDataInputStream input,
                         java.util.Map classes,
                         int[] o,
                         int[] l)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

recordReadObject

protected void recordReadObject(int definingOid,
                                Expression e)
Specified by:
recordReadObject in class SLL2Deserializer

skipReadObject

protected Expression skipReadObject(boolean flush,
                                    int definingOid)
                             throws java.io.IOException
Specified by:
skipReadObject in class SLL2Deserializer
Throws:
java.io.IOException

fetchShared

protected Expression fetchShared(int oid)
                          throws java.io.IOException
Specified by:
fetchShared in class SLL2Deserializer
Throws:
java.io.IOException

getLibrary

public Library getLibrary()
Specified by:
getLibrary in interface LibraryDeserializer

setLibrary

public void setLibrary(Library lib)
Specified by:
setLibrary in interface LibraryDeserializer

readClass

public java.lang.Class readClass()
                          throws java.io.IOException
Specified by:
readClass in interface Deserializer
Throws:
java.io.IOException