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.
-
DefineCollectableCollection()
-
-
create(VirtualInputStream)
- This method will be called by CollectableStreamer to
create an instance of the object being
restored.
-
getComparator()
- Return an RWCollectable comparator.
-
getCxxClassId()
- You must override either this or getCxxStringId
-
getCxxStringId()
- You must override either this or getCxxClassId
-
getJavaClass()
- This method must return a java Class object for the Java class
being mapped.
-
restoreGuts(Object, VirtualInputStream, CollectableStreamer)
- Restore the guts of the Collection
-
saveGuts(Object, VirtualOutputStream, CollectableStreamer)
- Save the guts of the Collection
DefineCollectableCollection
public DefineCollectableCollection()
restoreGuts
public void restoreGuts(Object obj,
VirtualInputStream vstr,
CollectableStreamer polystr) throws IOException
- Restore the guts of the Collection
saveGuts
public void saveGuts(Object obj,
VirtualOutputStream vstr,
CollectableStreamer polystr) throws IOException
- Save the guts of the Collection
getCxxClassId
public int getCxxClassId()
- You must override either this or getCxxStringId
getCxxStringId
public String getCxxStringId()
- You must override either this or getCxxClassId
getComparator
public Comparator getComparator()
- Return an RWCollectable comparator.
All Packages Class Hierarchy This Package Previous Next Index