org.objectweb.speedo.generation.jorm
Class JormGenerator
java.lang.Object
org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
org.objectweb.speedo.generation.jorm.JormGenerator
- All Implemented Interfaces:
- GeneratorComponent
public class JormGenerator
- extends AbstractGeneratorComponent
Generates the JORM Files corresponding to a set of Java Classes.
See http://www.objectweb.org/jormfor more information.
- Author:
- S.Chassande-Barrioz
Method Summary |
java.lang.String |
getTitle()
|
boolean |
init()
Initializes the component |
void |
process()
Performs the JORM objects' generation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER_NAME
public static final java.lang.String LOGGER_NAME
- See Also:
- Constant Field Values
jormcompiler
protected org.objectweb.jorm.compiler.lib.JormCompiler jormcompiler
- Jorm classes intended for JORM generation
JormGenerator
public JormGenerator(Personality p)
init
public boolean init()
throws SpeedoException
- Description copied from interface:
GeneratorComponent
- Initializes the component
- Specified by:
init
in interface GeneratorComponent
- Specified by:
init
in class AbstractGeneratorComponent
- Returns:
- boolean value indicating if the process method can be called.
- Throws:
SpeedoException
- if the component initialization fails
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface GeneratorComponent
- Overrides:
getTitle
in class AbstractGeneratorComponent
- Returns:
- a short string (less than 30 characters) representing the
title of the component. This string must indicate job of the component.
process
public void process()
throws SpeedoException
- Performs the JORM objects' generation.
- Specified by:
process
in interface GeneratorComponent
- Specified by:
process
in class AbstractGeneratorComponent
- Throws:
SpeedoException
- if the component initialization fails