org.apache.tapestry.engine
Class NullTemplateSourceDelegate

java.lang.Object
  extended by 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

Constructor Summary
NullTemplateSourceDelegate()
           
 
Method Summary
 ComponentTemplate findTemplate(IRequestCycle cycle, IComponent component, Locale locale)
          Simply returns null.
static NullTemplateSourceDelegate getSharedInstance()
          Returns a shared instance of NullTemplateSourceDelegate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTemplateSourceDelegate

public NullTemplateSourceDelegate()
Method Detail

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 objects
component - component (or page) for which a template is needed
locale - the desired locale for the template