org.primordion.xholon.util
Class CreateClassEnum

java.lang.Object
  extended byorg.primordion.xholon.util.CreateClassEnum

public class CreateClassEnum
extends java.lang.Object

Creates a Java class enumeration file from an InheritanceHierarchy file. ex: InheritanceHierarchy.xml --> CeHelloWorld.java This is a stand-alone utility that has its own main() function.

Since:
0.1 (Created on Oct 17, 2005) TODO Optionally, follow XIncludes.
Author:
Ken Webb

Constructor Summary
CreateClassEnum()
           
 
Method Summary
 void createClassEnumFile(java.lang.String appName, java.lang.String inputPathAndName, java.lang.String outputPathAndName)
          Create class enum file.
static void main(java.lang.String[] args)
          main
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateClassEnum

public CreateClassEnum()
Method Detail

createClassEnumFile

public void createClassEnumFile(java.lang.String appName,
                                java.lang.String inputPathAndName,
                                java.lang.String outputPathAndName)
Create class enum file.

Examples:

HelloWorld config/HelloWorld/InheritanceHierarchy.xml src/org/primordion/xholon/tutorials/CeHelloWorld.java

Rcs1 config/Rcs/Rcs1_InheritanceHierarchy.xml src/org/primordion/xholon/tutorials/rcs/CeRcs1.java

AdapSysLab ../Ctrnn/config/ctrnn/AdapSysLab/InheritanceHierarchy.xml ../Ctrnn/src/org/primordion/ctrnn/app/CeAdapSysLab.java

Parameters:
appName - Name of the application (ex: HelloWorld). Optionally prefixed by app type (ex: xmiapp_HelloWorld).
inputPathAndName - Path and name of the input stream. ex: "config/HelloWorld/InheritanceHierarchy.xml"
outputPathAndName - Path and name of the output file. ex: "src/org/primordion/xholon/tutorials/CeHelloWorld.java"

main

public static void main(java.lang.String[] args)
main

Parameters:
args - command line arguments