public abstract class AbstractVelocityGenerator extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractVelocityGenerator(javax.inject.Provider<org.apache.velocity.VelocityContext> velocityContextProvider,
org.apache.velocity.app.VelocityEngine velocityEngine,
GeneratorUtil generatorUtil) |
Modifier and Type | Method and Description |
---|---|
GeneratorUtil |
getGeneratorUtil() |
protected void |
mergeTemplate(PrintWriter printWriter,
String velocityTemplate,
JClassType descriptor,
String implName,
String packageName) |
protected abstract void |
populateVelocityContext(org.apache.velocity.VelocityContext velocityContext,
JClassType descriptor) |
protected AbstractVelocityGenerator(javax.inject.Provider<org.apache.velocity.VelocityContext> velocityContextProvider, org.apache.velocity.app.VelocityEngine velocityEngine, GeneratorUtil generatorUtil)
public GeneratorUtil getGeneratorUtil()
protected void mergeTemplate(PrintWriter printWriter, String velocityTemplate, JClassType descriptor, String implName, String packageName) throws Exception
Exception
protected abstract void populateVelocityContext(org.apache.velocity.VelocityContext velocityContext, JClassType descriptor) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2010-2014 ArcBees. All Rights Reserved.