Package org.apache.tiles.autotag.freemarker

# Class FMTemplateGeneratorFactory

java.lang.Object
org.apache.tiles.autotag.freemarker.FMTemplateGeneratorFactory

All Implemented Interfaces:
  `TemplateGeneratorFactory`

public class FMTemplateGeneratorFactory extends Object implements TemplateGeneratorFactory
Creates a template generator that generates code for Freemarker.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FMTemplateGeneratorFactory(File classesOutputDirectory, org.apache.velocity.app.VelocityEngine velocityEngine, TemplateGeneratorBuilder templateGeneratorBuilder)`
  Constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TemplateGenerator`
  `createTemplateGenerator()`
  Creates a template generator.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### FMTemplateGeneratorFactory

    public FMTemplateGeneratorFactory(File classesOutputDirectory, org.apache.velocity.app.VelocityEngine velocityEngine, TemplateGeneratorBuilder templateGeneratorBuilder)
    Constructor.
    Parameters:
      `classesOutputDirectory` - Directory where code will be placed.
      `velocityEngine` - The Velocity engine.
      `templateGeneratorBuilder` - The template generator builder.

- ## Method Details

  - ### createTemplateGenerator

    public TemplateGenerator createTemplateGenerator()
    Description copied from interface: `TemplateGeneratorFactory`
    Creates a template generator.
    Specified by:
      `createTemplateGenerator` in interface `TemplateGeneratorFactory`
    Returns:
      The newly created template generator.