org.biomage.tools.generate_classes
Class CreateMageClasses

java.lang.Object
  extended by org.biomage.tools.generate_classes.CreateMageDTDClasses
      extended by org.biomage.tools.generate_classes.CreateMageClasses

public class CreateMageClasses
extends CreateMageDTDClasses


Nested Class Summary
static interface CreateMageClasses.CreateClassTransformer
          Description: An interface implemented by classes that take a class list and transform the members by either changing the relationships or adding or subtracting classes.
 
Field Summary
protected static java.lang.String DEFAULT_PATH
          Description: The default namespace.
protected  CreateMageClasses.CreateClassTransformer transformer
          Description: A class that implements the transformation interface.
 
Fields inherited from class org.biomage.tools.generate_classes.CreateMageDTDClasses
args, cfgInfo
 
Constructor Summary
CreateMageClasses(java.lang.String[] args)
          Description: Constructor for the CreateMageJavaClasses object.
 
Method Summary
static void main(java.lang.String[] args)
          Description: The main entry point for the XMLLoaderTestServer.
protected  void writeCPPClassFiles(java.util.Vector classes)
          Description: For each object on the Vector, will call writeJavaFile().
protected  void writeERFiles(java.util.Vector classes)
          Description: For each object on the Vector, will call writeJavaFile().
protected  void writeJavaClassFiles(java.util.Vector classes)
          Description: For each object on the Vector, will call writeJavaFile().
 void writePlatform(java.util.Vector classes)
          Description: Picks the specified platform and calls the class that creates that platform.
 
Methods inherited from class org.biomage.tools.generate_classes.CreateMageDTDClasses
dispose, getArgumentToken, getDOMFromFile, getName, getPackageNodeFromCfg, getVersion, getXMINodeFromFile, initialize, writeDocFile, writeDTDFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PATH

protected static final java.lang.String DEFAULT_PATH
Description: The default namespace.

See Also:
Constant Field Values

transformer

protected CreateMageClasses.CreateClassTransformer transformer
Description: A class that implements the transformation interface. Can be null.

Constructor Detail

CreateMageClasses

public CreateMageClasses(java.lang.String[] args)
                  throws java.lang.Exception
Description: Constructor for the CreateMageJavaClasses object.

Parameters:
Throws:
java.lang.Exception -

Method Detail

writePlatform

public void writePlatform(java.util.Vector classes)
                   throws java.lang.Exception
Description: Picks the specified platform and calls the class that creates that platform. Overwrites base class.

Overrides:
writePlatform in class CreateMageDTDClasses
Parameters:
clases: - vector of CreateClassFiles, one per model object.

Throws:
java.lang.Exception

writeERFiles

protected void writeERFiles(java.util.Vector classes)
                     throws java.lang.Exception
Description: For each object on the Vector, will call writeJavaFile().

Parameters:
createClassFileList: - vector of CreateClassFiles, one per model object.

Throws:
java.lang.Exception

writeJavaClassFiles

protected void writeJavaClassFiles(java.util.Vector classes)
                            throws java.lang.Exception
Description: For each object on the Vector, will call writeJavaFile().

Parameters:
createClassFileList: - vector of CreateClassFiles, one per model object.

Throws:
java.lang.Exception

writeCPPClassFiles

protected void writeCPPClassFiles(java.util.Vector classes)
                           throws java.lang.Exception
Description: For each object on the Vector, will call writeJavaFile().

Parameters:
createClassFileList: - vector of CreateClassFiles, one per· model object.

Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
Description: The main entry point for the XMLLoaderTestServer.

Parameters:
String[] - args ( INPUT )