|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.autotag.generate.AbstractTemplateClassGenerator
org.apache.tiles.autotag.jsp.TagClassGenerator
public class TagClassGenerator
Generates a tag class using a template class.
Constructor Summary | |
---|---|
TagClassGenerator(org.apache.velocity.app.VelocityEngine velocityEngine)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.tiles.autotag.generate.AbstractTemplateClassGenerator |
---|
generate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagClassGenerator(org.apache.velocity.app.VelocityEngine velocityEngine)
velocityEngine
- The Velocity engine.Method Detail |
---|
protected String getDirectoryName(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)
AbstractTemplateClassGenerator
getDirectoryName
in class AbstractTemplateClassGenerator
directory
- 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)
AbstractTemplateClassGenerator
getFilename
in class AbstractTemplateClassGenerator
directory
- 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)
AbstractTemplateClassGenerator
getTemplatePath
in class AbstractTemplateClassGenerator
directory
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |