Package org.apache.tapestry5.services.dynamic

## Interface DynamicTemplateParser

- All Known Implementing Classes:
    `DynamicTemplateParserImpl`

      public interface DynamicTemplateParser

  Parses a dynamic template based on a resource or an input stream.
  Since:
    5.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `DynamicTemplate` | `parseTemplate​(Resource resource)` | Given a Resource, parse the XML file into a template.

- - ### Method Detail

    - #### parseTemplate

          DynamicTemplate parseTemplate​(Resource resource)

      Given a Resource, parse the XML file into a template. The result is cached (using the Resource itself as the key). The DynamicTemplateParser is change aware; it will clear its cache if any underlying Resource changes, and will clear the Tapestry page cache as well.