org.apache.tapestry.services.impl
Class ComponentTemplateLoaderImpl
java.lang.Object
org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl
- All Implemented Interfaces:
- ComponentTemplateLoader
public class ComponentTemplateLoaderImpl
- extends Object
- implements ComponentTemplateLoader
Utility service, tapestry.page.ComponentTemplateLoader
, which will process the
component's template
, which involves working
through the nested structure of the template and hooking the various static template blocks and
components together using IComponent.addBody(IRender)
and
ITemplateComponent.addOuter(IRender)
.
Because this service must be reentrant, it acts as a factory for a
ComponentTemplateLoaderLogic
that is created (and
discarded) for each component whose template is loaded.
- Since:
- 3.0
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentTemplateLoaderImpl
public ComponentTemplateLoaderImpl()
loadTemplate
public void loadTemplate(IRequestCycle requestCycle,
ITemplateComponent loadComponent)
- Specified by:
loadTemplate
in interface ComponentTemplateLoader
setPageLoader
public void setPageLoader(IPageLoader pageLoader)
- Since:
- 4.0
setLog
public void setLog(Log log)
- Since:
- 4.0
setTemplateSource
public void setTemplateSource(TemplateSource templateSource)
- Since:
- 4.0
setBindingSource
public void setBindingSource(BindingSource bindingSource)
- Since:
- 4.0
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.