|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectCodeGenerator
VelocityGenerator
public class VelocityGenerator
The VelocityGenerator class is an implementation of CodeGenerator that uses standard Apache Velocity classes from the system classpath.
| Constructor Summary | |
|---|---|
VelocityGenerator(AnnotationProcessorEnvironment env)
|
|
| Method Summary | |
|---|---|
void |
generate(GeneratorOutput genOut)
Implementation of the CodeGenerator.generate() method, using standard Velocity package naming conventions and the system class loader |
Template |
getTemplate(String templateName)
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VelocityGenerator(AnnotationProcessorEnvironment env)
throws Exception
Exception| Method Detail |
|---|
public void generate(GeneratorOutput genOut)
throws CodeGenerationException
generate in class CodeGeneratorCodeGenerationException
public Template getTemplate(String templateName)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||