org.apache.tapestry.engine
Class NullTemplateSourceDelegate
java.lang.Object
org.apache.tapestry.engine.NullTemplateSourceDelegate
- All Implemented Interfaces:
- ITemplateSourceDelegate
public class NullTemplateSourceDelegate
- extends Object
- implements ITemplateSourceDelegate
Null implementation of ITemplateSourceDelegate
.
- Since:
- 3.0
- Version:
- $Id: NullTemplateSourceDelegate.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullTemplateSourceDelegate
public NullTemplateSourceDelegate()
getSharedInstance
public static NullTemplateSourceDelegate getSharedInstance()
- Returns a shared instance of NullTemplateSourceDelegate.
findTemplate
public ComponentTemplate findTemplate(IRequestCycle cycle,
IComponent component,
Locale locale)
- Simply returns null.
- Specified by:
findTemplate
in interface ITemplateSourceDelegate
- Parameters:
cycle
- for access to Tapestry and Servlet API objectscomponent
- component (or page) for which a template is neededlocale
- the desired locale for the template