|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Generation is a simple interface which allows to generate object file depending on their nature. The compiler uses Meta Object to build the input source tree.
| Method Summary | |
void |
addMappingGenerator(java.lang.String mappername,
MOPFactory mappinggenerator)
Adds a mapping generator which generates a specific mapping part. |
void |
generate(Class mo,
TargetHolder th,
JormCompilerParameter cp,
JormConfigurator jcc)
Generates code for the given Class. |
void |
generate(CompositeName mo,
TargetHolder th,
JormCompilerParameter cp)
Generates code for the given CompositeName. |
void |
init()
Initializes the generator. |
void |
setCompilerConfigurator(JormConfigurator jcc)
Assigns the compiler configurator to this generator. |
void |
setCompilerParameter(JormCompilerParameter jcp)
Assigns the compiler parameter to this generator. |
void |
setMetaInfoManager(Manager mim)
Assigns the meta information manager to this generator. |
void |
setPathExplorer(PathExplorer pathexpl)
Assigns a PathExplorer object for locating files that have to be parsed. |
| Method Detail |
public void init()
throws PException
PExceptionpublic void setCompilerParameter(JormCompilerParameter jcp)
jcp - the compiler parameter.public void setCompilerConfigurator(JormConfigurator jcc)
jcc - the compiler configurator.public void setMetaInfoManager(Manager mim)
mim - the meta information manager to use.public void setPathExplorer(PathExplorer pathexpl)
pathexpl - the PathExplorer to be used for file location
public void addMappingGenerator(java.lang.String mappername,
MOPFactory mappinggenerator)
mappername - The name of the mapper.mappinggenerator - The Mapping Verifier object.
public void generate(Class mo,
TargetHolder th,
JormCompilerParameter cp,
JormConfigurator jcc)
throws PException
mo - The class meta-object.th - The target holder which allows to create files.cp - This parameter permits to reach the compilation parameters.jcc - The actual configuration of the compiler.
PException
public void generate(CompositeName mo,
TargetHolder th,
JormCompilerParameter cp)
throws PException
mo - The composite name meta-object.th - The target holder which allows to create files.cp - This parameter permits to reach the compilation parameters.
PException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||