Class COM.ibm.jaws.motk.ObjectEDStreamBase
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.ibm.jaws.motk.ObjectEDStreamBase

java.lang.Object
   |
   +----COM.ibm.jaws.motk.ObjectEDStreamBase

public class ObjectEDStreamBase
extends Object
implements InputEDStream, OutputEDStream
This class provides an abstract base class for implementing Streams with underlying storage that only contains objects. For example it is very easy to implement a stream based on an array of objects using this class as your base.

Variable Index

 o defaultRelativeTo

Constructor Index

 o ObjectEDStreamBase()

Method Index

 o atEnd()
 o close()
 o readBegin()
 o readBoolean()
 o readByte()
 o readChar()
 o readDouble()
 o readEnd()
 o readFloat()
 o readInt()
 o readLong()
 o readManageable()
 o readManaged(BaseCollection)
 o readObject()
 o readObject(String)
The underlying implementation must implement this method.
 o readShort()
 o readString()
 o setDefaultRelativeTo(BaseCollection)
Used when relativeTo parameter to readManaged is null.
 o writeBegin()
 o writeBoolean(boolean)
 o writeByte(byte)
 o writeChar(char)
 o writeDouble(double)
 o writeEnd()
 o writeFloat(float)
 o writeInt(int)
 o writeLong(long)
 o writeManageable(Manageable)
 o writeManaged(BaseCollection, Managed)
 o writeObject(Object)
 o writeShort(short)
 o writeString(String)

Variables

 o defaultRelativeTo
  protected BaseCollection defaultRelativeTo

Constructors

 o ObjectEDStreamBase
  public ObjectEDStreamBase()

Methods

 o setDefaultRelativeTo
  public void setDefaultRelativeTo(BaseCollection defaultRelativeTo)
Used when relativeTo parameter to readManaged is null.
 o close
  public abstract void close()
 o atEnd
  public abstract boolean atEnd()
 o readBegin
  public void readBegin()
 o readEnd
  public abstract void readEnd()
 o readBoolean
  public boolean readBoolean()
 o readByte
  public byte readByte()
 o readShort
  public short readShort()
 o readInt
  public int readInt()
 o readLong
  public long readLong()
 o readFloat
  public float readFloat()
 o readDouble
  public double readDouble()
 o readChar
  public char readChar()
 o readString
  public String readString()
 o readObject
  public Object readObject(String interfaceName)
The underlying implementation must implement this method. This method has the same meaning as readObject except that it does not check for end markers.
 o readObject
  public abstract Object readObject()
 o readManaged
  public Managed readManaged(BaseCollection relativeTo)
 o readManageable
  public Manageable readManageable()
 o writeBegin
  public void writeBegin()
 o writeEnd
  public abstract void writeEnd()
 o writeBoolean
  public void writeBoolean(boolean value)
 o writeByte
  public void writeByte(byte value)
 o writeShort
  public void writeShort(short value)
 o writeInt
  public void writeInt(int value)
 o writeLong
  public void writeLong(long value)
 o writeFloat
  public void writeFloat(float value)
 o writeDouble
  public void writeDouble(double value)
 o writeChar
  public void writeChar(char value)
 o writeString
  public void writeString(String value)
 o writeObject
  public abstract void writeObject(Object value)
 o writeManageable
  public void writeManageable(Manageable value)
 o writeManaged
  public void writeManaged(BaseCollection relativeTo,
                           Managed value)

All Packages  Class Hierarchy  This Package  Previous  Next  Index