Class DynamicTemplateParserImpl
java.lang.Object
org.apache.tapestry5.internal.dynamic.DynamicTemplateParserImpl
- All Implemented Interfaces:
UpdateListener
,DynamicTemplateParser
public class DynamicTemplateParserImpl
extends Object
implements DynamicTemplateParser, UpdateListener
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicTemplateParserImpl
(ClasspathURLConverter converter, BindingSource bindingSource, PageSource pageSource, TemplateParser componentTemplateParser) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked to force the receiver to check for updates to whatever underlying resources it makes use of.parseTemplate
(Resource resource) Given a Resource, parse the XML file into a template.void
-
Constructor Details
-
DynamicTemplateParserImpl
public DynamicTemplateParserImpl(ClasspathURLConverter converter, BindingSource bindingSource, PageSource pageSource, TemplateParser componentTemplateParser)
-
-
Method Details
-
registerAsUpdateListener
-
parseTemplate
Description copied from interface:DynamicTemplateParser
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.- Specified by:
parseTemplate
in interfaceDynamicTemplateParser
-
checkForUpdates
Description copied from interface:UpdateListener
Invoked to force the receiver to check for updates to whatever underlying resources it makes use of.- Specified by:
checkForUpdates
in interfaceUpdateListener
-