# Uses of Class
org.apache.tiles.autotag.model.TemplateClass

Packages that use TemplateClass
Package
Description
org.apache.tiles.autotag.freemarker
Autotag support for Freemarker.
org.apache.tiles.autotag.generate
The Autotag generation classes.
org.apache.tiles.autotag.jsp
Autotag support for JavaServer Pages.
org.apache.tiles.autotag.model
Domain model classes representing a parsed template suite.
org.apache.tiles.autotag.velocity
Autotag support for Velocity.

- ## Uses of TemplateClass in org.apache.tiles.autotag.freemarker

  Methods in org.apache.tiles.autotag.freemarker with parameters of type TemplateClass
  Modifier and Type
  Method
  Description
  `protected String`
  FMModelGenerator.`getDirectoryName(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  `protected String`
  FMModelGenerator.`getFilename(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  `protected String`
  FMModelGenerator.`getTemplatePath(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`

- ## Uses of TemplateClass in org.apache.tiles.autotag.generate

  Methods in org.apache.tiles.autotag.generate with parameters of type TemplateClass
  Modifier and Type
  Method
  Description
  `void`
  AbstractTemplateClassGenerator.`generate(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  `void`
  TemplateClassGenerator.`generate(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  Generates the code.
  `protected abstract String`
  AbstractTemplateClassGenerator.`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 abstract String`
  AbstractTemplateClassGenerator.`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 abstract String`
  AbstractTemplateClassGenerator.`getTemplatePath(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  Calculates and returns the template path.

- ## Uses of TemplateClass in org.apache.tiles.autotag.jsp

  Methods in org.apache.tiles.autotag.jsp with parameters of type TemplateClass
  Modifier and Type
  Method
  Description
  `protected String`
  TagClassGenerator.`getDirectoryName(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  `protected String`
  TagClassGenerator.`getFilename(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  `protected String`
  TagClassGenerator.`getTemplatePath(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`

- ## Uses of TemplateClass in org.apache.tiles.autotag.model

  Methods in org.apache.tiles.autotag.model that return TemplateClass
  Modifier and Type
  Method
  Description
  `TemplateClass`
  TemplateSuite.`getTemplateClassByName(String name)`
  Returns a template class given its name.
  Methods in org.apache.tiles.autotag.model that return types with arguments of type TemplateClass
  Modifier and Type
  Method
  Description
  `Collection<TemplateClass>`
  TemplateSuite.`getTemplateClasses()`
  Returns the template classes.
  Methods in org.apache.tiles.autotag.model with parameters of type TemplateClass
  Modifier and Type
  Method
  Description
  `void`
  TemplateSuite.`addTemplateClass(TemplateClass clazz)`
  Adds a new template class.
  Constructor parameters in org.apache.tiles.autotag.model with type arguments of type TemplateClass
  Modifier
  Constructor
  Description
  ``
  `TemplateSuite(String name, String documentation, Iterable<? extends TemplateClass> classes)`
  Constructor.

- ## Uses of TemplateClass in org.apache.tiles.autotag.velocity

  Methods in org.apache.tiles.autotag.velocity with parameters of type TemplateClass
  Modifier and Type
  Method
  Description
  `protected String`
  VelocityDirectiveGenerator.`getDirectoryName(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  `protected String`
  VelocityDirectiveGenerator.`getFilename(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`
  `protected String`
  VelocityDirectiveGenerator.`getTemplatePath(File directory, String packageName, TemplateSuite suite, TemplateClass clazz, Map<String,String> parameters, String runtimeClass, String requestClass)`