org.apache.tiles.autotag.generate

## Interface TemplateGenerator

-     public interface TemplateGenerator

  Generates all the code for a template suite.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `generate(String packageName, TemplateSuite suite, Map<String,String> parameters, String runtimeClass, String requestClass)` Generates the code.
    `boolean` | `isGeneratingClasses()` Indicates that this generator generates classes.
    `boolean` | `isGeneratingResources()` Indicates that this generator generates resources.

- - ### Method Detail

    - #### generate

          void generate(String packageName,
                        TemplateSuite suite,
                        Map<String,String> parameters,
                        String runtimeClass,
                        String requestClass)

      Generates the code.
      Parameters:
        `packageName` - The package name.
        `suite` - The template suite.
        `parameters` - Configuration parameters.
        `runtimeClass` - The RequestBuilder implementation.
        `requestClass` - The request class to use.

    - #### isGeneratingResources

          boolean isGeneratingResources()

      Indicates that this generator generates resources.
      Returns:
        `true` if the generator generates resources.

    - #### isGeneratingClasses

          boolean isGeneratingClasses()

      Indicates that this generator generates classes.
      Returns:
        `true` if the generator generates classes.

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.