ptolemy.copernicus.shallow
Class Main

java.lang.Object
  extended by ptolemy.copernicus.kernel.KernelMain
      extended by ptolemy.copernicus.shallow.Main

public class Main
extends KernelMain

Read in a MoML model and generate a Java class that creates the same model. (i.e. shallow code generation) No attempt is made to analyze actor code. This is primarily useful for using the Java compiler to find bugs, and removing MoML from shipped code.

Since:
Ptolemy II 2.0
Version:
$Id: Main.java,v 1.47 2006/03/28 23:59:00 cxh Exp $
Author:
Stephen Neuendorffer, Christopher Hylands
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Nested Class Summary
 
Nested classes/interfaces inherited from class ptolemy.copernicus.kernel.KernelMain
KernelMain._IgnoreAllApplicationClasses
 
Field Summary
 
Fields inherited from class ptolemy.copernicus.kernel.KernelMain
_momlClassName, _toplevel
 
Constructor Summary
Main()
           
 
Method Summary
protected  java.lang.String[] _parseArgs(GeneratorAttribute attribute)
          Parse any code generator specific arguments.
 void addTransforms()
          Add transforms to the Scene.
 
Methods inherited from class ptolemy.copernicus.kernel.KernelMain
addStandardOptimizations, addTransform, addTransform, compile, generateCode, initialize, toplevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

addTransforms

public void addTransforms()
Add transforms to the Scene.

Specified by:
addTransforms in class KernelMain

_parseArgs

protected java.lang.String[] _parseArgs(GeneratorAttribute attribute)
                                 throws java.lang.Exception
Parse any code generator specific arguments.

Overrides:
_parseArgs in class KernelMain
Throws:
java.lang.Exception