sisc.ser
Class SLL2Serializer
java.lang.Object
sisc.ser.BerEncoding
sisc.ser.SerializerImpl
sisc.ser.SLL2Serializer
- All Implemented Interfaces:
- java.io.DataOutput, java.io.ObjectOutput, Serializer
- Direct Known Subclasses:
- BlockSerializer, StreamSerializer
public abstract class SLL2Serializer
- extends SerializerImpl
Methods inherited from class sisc.ser.SerializerImpl |
lookupLibraryBinding, write, write, write, writeBigDecimal, writeBigInteger, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeExpressionArray, writeFloat, writeInt, writeLong, writeObject, writeShort, writeSymbolicEnvironment, writeUTF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SLL2Serializer
protected SLL2Serializer(AppContext ctx,
java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
writeExpression
protected abstract void writeExpression(Expression e,
boolean flush)
throws java.io.IOException
- Required call which actually writes out the bytes of an expression
- Parameters:
e
- flush
-
- Throws:
java.io.IOException
serializeEnd
protected abstract void serializeEnd(int posi,
int sizeStartOffset)
writeExpression
public void writeExpression(Expression e)
throws java.io.IOException
- Throws:
java.io.IOException
writeInitializedExpression
public void writeInitializedExpression(Expression e)
throws java.io.IOException
- Throws:
java.io.IOException
serialize
public void serialize(Expression e)
throws java.io.IOException
- Throws:
java.io.IOException
writeExpression
protected boolean writeExpression(Expression e,
int pos,
int offset,
boolean flush)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.ObjectOutput
- Overrides:
close
in class SerializerImpl
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.ObjectOutput
- Overrides:
flush
in class SerializerImpl
- Throws:
java.io.IOException
writeSeenEntryPoint
protected void writeSeenEntryPoint(int posi)
throws java.io.IOException
- Throws:
java.io.IOException
writeNewEntryPointMarker
protected void writeNewEntryPointMarker(int posi,
Expression e)
throws java.io.IOException
- Throws:
java.io.IOException