public abstract class AbstractVelocityGenerator extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
IMPL_NAME |
protected static String |
PACKAGE |
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) |
protected abstract void |
populateVelocityContext(org.apache.velocity.VelocityContext velocityContext) |
protected static final String IMPL_NAME
protected static final String PACKAGE
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) throws Exception
Exception
protected abstract void populateVelocityContext(org.apache.velocity.VelocityContext velocityContext) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2010–2014 Arcbees. All rights reserved.