Class 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$
    Author:
    Stephen Neuendorffer, Christopher Hylands
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • 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