public class VelocityTemplateGeneratorFactory extends Object implements TemplateGeneratorFactory
Constructor and Description |
---|
VelocityTemplateGeneratorFactory(OutputLocator classesOutputLocator,
OutputLocator resourcesOutputLocator,
org.apache.velocity.app.VelocityEngine velocityEngine,
TemplateGeneratorBuilder templateGeneratorBuilder)
Constructor.
|
public VelocityTemplateGeneratorFactory(OutputLocator classesOutputLocator, OutputLocator resourcesOutputLocator, org.apache.velocity.app.VelocityEngine velocityEngine, TemplateGeneratorBuilder templateGeneratorBuilder)
classesOutputLocator
- The directory where classes will be generated.resourcesOutputLocator
- The directory where velocity.properties will be written.velocityEngine
- The Velocity engine.templateGeneratorBuilder
- The template generator builder.public TemplateGenerator createTemplateGenerator()
TemplateGeneratorFactory
createTemplateGenerator
in interface TemplateGeneratorFactory
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.