com.scooterframework.tools.common
Interface Generator

All Known Implementing Classes:
AbstractGenerator, ConnectionGenerator, ControllerApplicationGenerator, ControllerApplicationGenerator, ControllerGenerator, ControllerScaffoldGenerator, ControllerScaffoldTestGenerator, ControllerSignonGenerator, ControllerTestGenerator, FileTransformerGenerator, GeneratorImpl, ModelGenerator, ModelTestGenerator, ResourceGenerator, SecureHeaderGenerator, SecureXMLDecoratorGenerator, ViewActionGenerator, ViewAddGenerator, ViewEditGenerator, ViewIndexGenerator, ViewLoginGenerator, ViewLogoutGenerator, ViewMainGenerator, ViewPagedGenerator, ViewScaffoldGenerator, ViewShowGenerator

public interface Generator

Generator interface defines all methods to be implemented by a generator class.


Field Summary
static java.lang.String TEMPLATE_PARSER_Q
           
static java.lang.String TEMPLATE_PARSER_ST
           
static java.lang.String TEMPLATE_PARSER_TYPE
           
 
Method Summary
 void generate()
          Generates code.
 void generate(boolean overwrite)
          Generates code with an option if to overwrite the existing code.
 

Field Detail

TEMPLATE_PARSER_TYPE

static final java.lang.String TEMPLATE_PARSER_TYPE
See Also:
Constant Field Values

TEMPLATE_PARSER_Q

static final java.lang.String TEMPLATE_PARSER_Q
See Also:
Constant Field Values

TEMPLATE_PARSER_ST

static final java.lang.String TEMPLATE_PARSER_ST
See Also:
Constant Field Values
Method Detail

generate

void generate()
Generates code. If the code is already generated, overwrite it.


generate

void generate(boolean overwrite)
Generates code with an option if to overwrite the existing code.

Parameters:
overwrite -