org.spicefactory.pimento.generator
Class CinnamonGenerator

java.lang.Object
  extended by org.spicefactory.pimento.generator.CinnamonGenerator

public class CinnamonGenerator
extends Object

Core Source Code and Configuration Generator.

This class processes the generator configuration it was created with and generates ActionScript service interfaces and service proxies as well as Parsley XML configuration files.

Author:
Jens Halm

Constructor Summary
CinnamonGenerator(GeneratorConfig config)
          Creates a new generator instance.
 
Method Summary
 void execute()
          Genrates all ActionScript interfaces and proxy classes and Parsley XML configuration for the configuration of this generator.
 ConfigurationModel getModel()
          Returns the model this generator instance will push to the templates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CinnamonGenerator

public CinnamonGenerator(GeneratorConfig config)
Creates a new generator instance.

Parameters:
config - the configuration for this generator
Method Detail

getModel

public ConfigurationModel getModel()
Returns the model this generator instance will push to the templates.

Returns:
the model this generator instance will push to the templates

execute

public void execute()
Genrates all ActionScript interfaces and proxy classes and Parsley XML configuration for the configuration of this generator. Generation of Parsley configuration is optional and will only be executed if there is an output file specified in the generator configuration for this instance.