public class FMModelGenerator extends AbstractTemplateClassGenerator
| Constructor and Description |
|---|
FMModelGenerator(org.apache.velocity.app.VelocityEngine velocityEngine)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDirectoryName(File directory,
String packageName,
TemplateSuite suite,
TemplateClass clazz,
Map<String,String> parameters,
String runtimeClass,
String requestClass)
Calculates and returns the directory where the file will be written..
|
protected String |
getFilename(File directory,
String packageName,
TemplateSuite suite,
TemplateClass clazz,
Map<String,String> parameters,
String runtimeClass,
String requestClass)
Calculates and returns the filename of the generated file.
|
protected String |
getTemplatePath(File directory,
String packageName,
TemplateSuite suite,
TemplateClass clazz,
Map<String,String> parameters,
String runtimeClass,
String requestClass)
Calculates and returns the template path.
|
generatepublic FMModelGenerator(org.apache.velocity.app.VelocityEngine velocityEngine)
velocityEngine - The Velocity engine.protected String getDirectoryName(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)
AbstractTemplateClassGeneratorgetDirectoryName in class AbstractTemplateClassGeneratordirectory - The directory where the file will be written.packageName - The name of the package.suite - The template suite.clazz - The template class.parameters - The map of parameters.protected String getFilename(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)
AbstractTemplateClassGeneratorgetFilename in class AbstractTemplateClassGeneratordirectory - The directory where the file will be written.packageName - The name of the package.suite - The template suite.clazz - The template class.parameters - The map of parameters.protected String getTemplatePath(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)
AbstractTemplateClassGeneratorgetTemplatePath in class AbstractTemplateClassGeneratordirectory - The directory where the file will be written.packageName - The name of the package.suite - The template suite.clazz - The template class.parameters - The map of parameters.Copyright © 2000–2024 Apache Software Foundation. All rights reserved.