org.apache.beehive.controls.runtime.generator
Class CodeGenerator

Object
  extended by CodeGenerator
Direct Known Subclasses:
VelocityGenerator

public abstract class CodeGenerator
extends Object

The CodeGenerator class is an abstract base class that encapsulates the invocation Apache Velocity or other code generation tools that generate source artifacts.

This primary motivation for this abstraction is to decouple the loading and invocation of Velocity from the mainline control generation process.


Constructor Summary
CodeGenerator()
           
 
Method Summary
abstract  void generate(GeneratorOutput genOut)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeGenerator

public CodeGenerator()
Method Detail

generate

public abstract void generate(GeneratorOutput genOut)
                       throws CodeGenerationException
Throws:
CodeGenerationException