com.ibm.dse.base
Interface Externalizable

All Known Implementing Classes:
Context, DataElement, DSEAction, DSEGuardCondition, DSEOperation, DSEProcessor, DSEState, FormatElement, HashtableFormat, HashtableIndexedCollectionFormat, ObjectFormat, Pointer, Service, TransitionDescriptor, DSECoordinatedPanel

public interface Externalizable
extends java.io.Externalizable

All the Framework elements that are to be externalized in SGML format must implement this interface.


Method Summary
 Externalizer externalizer()
          Returns the Externalizer.
 java.lang.String getName()
          Returns the name.
 java.lang.Object initializeFrom(Tag aTag)
          Returns the Object implemented by the Tag aTag.
 void readExternal()
          This method will find the tag that corresponds to the name of THIS entity.
 void removeExternal()
          Removes the Externalizer.
 void setName(java.lang.String aName)
          Sets the name.
 Vector toStrings()
          Returns a Vector with the String representation of the object.
 Vector toTags()
          Returns a Vector with the object represented as a Tag.
 void writeExternal()
          Writes this instance converted in tags in a file.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

externalizer

public Externalizer externalizer()
                          throws java.io.IOException
Returns the Externalizer.
Returns:
com.ibm.dse.base.Externalizer

getName

public java.lang.String getName()
Returns the name.
Returns:
java.lang.String

initializeFrom

public java.lang.Object initializeFrom(Tag aTag)
                                throws java.io.IOException,
                                       DSEException
Returns the Object implemented by the Tag aTag.
Parameters:
aTag - Tag
Returns:
data.DataElement

readExternal

public void readExternal()
                  throws java.io.IOException
This method will find the tag that corresponds to the name of THIS entity. Then it will initialize THIS entity with the contents of the tag
Throws:
java.io.IOException -  

removeExternal

public void removeExternal()
                    throws java.io.IOException
Removes the Externalizer.

setName

public void setName(java.lang.String aName)
Sets the name.
Parameters:
aName - java.lang.String

toStrings

public Vector toStrings()
Returns a Vector with the String representation of the object.
Returns:
com.ibm.dse.base.Vector

toTags

public Vector toTags()
              throws java.io.IOException
Returns a Vector with the object represented as a Tag.
Returns:
com.ibm.dse.base.Vector

writeExternal

public void writeExternal()
                   throws java.io.IOException
Writes this instance converted in tags in a file.