
public class TLDGenerator extends AbstractTemplateSuiteGenerator
| Constructor and Description |
|---|
TLDGenerator(org.apache.velocity.app.VelocityEngine velocityEngine)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDirectoryName(String packageName,
TemplateSuite suite,
Map<String,String> parameters)
Calculates and returns the directory where the file will be written..
|
protected String |
getFilename(String packageName,
TemplateSuite suite,
Map<String,String> parameters)
Calculates and returns the filename of the generated file.
|
protected String |
getTemplatePath(String packageName,
TemplateSuite suite,
Map<String,String> parameters)
Calculates and returns the template path.
|
generatepublic TLDGenerator(org.apache.velocity.app.VelocityEngine velocityEngine)
velocityEngine - The Velocity engine.protected String getTemplatePath(String packageName, TemplateSuite suite, Map<String,String> parameters)
AbstractTemplateSuiteGeneratorgetTemplatePath in class AbstractTemplateSuiteGeneratorpackageName - The name of the package.suite - The template suite.parameters - The map of parameters.protected String getFilename(String packageName, TemplateSuite suite, Map<String,String> parameters)
AbstractTemplateSuiteGeneratorgetFilename in class AbstractTemplateSuiteGeneratorpackageName - The name of the package.suite - The template suite.parameters - The map of parameters.protected String getDirectoryName(String packageName, TemplateSuite suite, Map<String,String> parameters)
AbstractTemplateSuiteGeneratorgetDirectoryName in class AbstractTemplateSuiteGeneratorpackageName - The name of the package.suite - The template suite.parameters - The map of parameters.Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.