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
 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.



Copyright © 2003-2012 The Apache Software Foundation.