All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.roguewave.vsj.streamer.DefineCollectableCollection

java.lang.Object
   |
   +----com.roguewave.vsj.streamer.DefineCollectableCollection

public abstract class DefineCollectableCollection
extends Object
implements DefineCollectable
This abstract class does most of the work of mapping a C++ RWCollection-derived class to a Java class that implements com.roguewave.tools.Collection.


Constructor Index

 o DefineCollectableCollection()

Method Index

 o create(VirtualInputStream)
This method will be called by CollectableStreamer to create an instance of the object being restored.
 o getComparator()
Return an RWCollectable comparator.
 o getCxxClassId()
You must override either this or getCxxStringId
 o getCxxStringId()
You must override either this or getCxxClassId
 o getJavaClass()
This method must return a java Class object for the Java class being mapped.
 o restoreGuts(Object, VirtualInputStream, CollectableStreamer)
Restore the guts of the Collection
 o saveGuts(Object, VirtualOutputStream, CollectableStreamer)
Save the guts of the Collection

Constructors

 o DefineCollectableCollection
 public DefineCollectableCollection()

Methods

 o restoreGuts
 public void restoreGuts(Object obj,
                         VirtualInputStream vstr,
                         CollectableStreamer polystr) throws IOException
Restore the guts of the Collection

 o saveGuts
 public void saveGuts(Object obj,
                      VirtualOutputStream vstr,
                      CollectableStreamer polystr) throws IOException
Save the guts of the Collection

 o getCxxClassId
 public int getCxxClassId()
You must override either this or getCxxStringId

 o getCxxStringId
 public String getCxxStringId()
You must override either this or getCxxClassId

 o getComparator
 public Comparator getComparator()
Return an RWCollectable comparator.


All Packages  Class Hierarchy  This Package  Previous  Next  Index