IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.base.types
Class TypeExternalizerAccessor

java.lang.Object
  extended bycom.ibm.dse.base.ExternalizerAccessor
      extended bycom.ibm.dse.base.types.TypeExternalizerAccessor

public class TypeExternalizerAccessor
extends ExternalizerAccessor

This class is used to access the typed data externalizer


Constructor Summary
TypeExternalizerAccessor()
          TypeExternalizerAccessor constructor.
 
Method Summary
 void createExternalizer()
          Creates and sets the typed data externalizer.
 void createExternalizer(java.lang.String option, java.io.BufferedInputStream aIniStream)
          Creates and sets the typed data externalizer
 void createExternalizer(java.lang.String option, java.lang.String pathAndFile)
          Creates and sets the typed data externalizer.
 void end()
          Sets the typed data externalizer to null
 Externalizer getExternalizer()
          This method returns the Type Externalizer instance
 void linkReferences()
          Initializes all the typed data externalizer, building all the Types, PropertyDescriptors, etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeExternalizerAccessor

public TypeExternalizerAccessor()
TypeExternalizerAccessor constructor.

Method Detail

createExternalizer

public void createExternalizer()
                        throws java.io.IOException
Creates and sets the typed data externalizer.

Specified by:
createExternalizer in class ExternalizerAccessor
Throws:
java.io.IOException

createExternalizer

public void createExternalizer(java.lang.String option,
                               java.io.BufferedInputStream aIniStream)
                        throws java.io.IOException
Creates and sets the typed data externalizer

Specified by:
createExternalizer in class ExternalizerAccessor
Parameters:
option - - The option to create the externalizer (FILE or MEMORY)
aIniStream - - The input stream to be used to create the externalizer
Throws:
java.io.IOException

createExternalizer

public void createExternalizer(java.lang.String option,
                               java.lang.String pathAndFile)
                        throws java.io.IOException
Creates and sets the typed data externalizer.

Specified by:
createExternalizer in class ExternalizerAccessor
Parameters:
option - - The option to create the externalizer (MEMORY or FILE)
pathAndFile - - The path and file containing the types definitions to be read by the externalizer
Throws:
java.io.IOException

end

public void end()
Sets the typed data externalizer to null

Specified by:
end in class ExternalizerAccessor

getExternalizer

public Externalizer getExternalizer()
                             throws java.io.IOException
This method returns the Type Externalizer instance

Specified by:
getExternalizer in class ExternalizerAccessor
Returns:
TypeExternalizer
Throws:
java.io.IOException

linkReferences

public void linkReferences()
                    throws java.io.IOException,
                           DSEObjectNotFoundException
Initializes all the typed data externalizer, building all the Types, PropertyDescriptors, etc. and linking them all together properly.

Specified by:
linkReferences in class ExternalizerAccessor
Throws:
java.io.IOException
DSEObjectNotFoundException

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005