org.apache.tapestry.resolver
Class NullSpecificationResolverDelegate

java.lang.Object
  extended by org.apache.tapestry.resolver.NullSpecificationResolverDelegate
All Implemented Interfaces:
ISpecificationResolverDelegate

public class NullSpecificationResolverDelegate
extends Object
implements ISpecificationResolverDelegate

Stand-in class used when the application fails to specify an actual delegate.

Since:
3.0
Version:
$Id: NullSpecificationResolverDelegate.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
NullSpecificationResolverDelegate()
           
 
Method Summary
 IComponentSpecification findComponentSpecification(IRequestCycle cycle, INamespace namespace, String type)
          Returns null.
 IComponentSpecification findPageSpecification(IRequestCycle cycle, INamespace namespace, String simplePageName)
          Returns null.
static NullSpecificationResolverDelegate getSharedInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullSpecificationResolverDelegate

public NullSpecificationResolverDelegate()
Method Detail

getSharedInstance

public static NullSpecificationResolverDelegate getSharedInstance()

findPageSpecification

public IComponentSpecification findPageSpecification(IRequestCycle cycle,
                                                     INamespace namespace,
                                                     String simplePageName)
Returns null.

Specified by:
findPageSpecification in interface ISpecificationResolverDelegate
Parameters:
cycle - used to gain access to framework and Servlet API objects
namespace - the namespace containing the page
simplePageName - the name of the page (without any namespace prefix)

findComponentSpecification

public IComponentSpecification findComponentSpecification(IRequestCycle cycle,
                                                          INamespace namespace,
                                                          String type)
Returns null.

Specified by:
findComponentSpecification in interface ISpecificationResolverDelegate
Parameters:
cycle - used to gain access to framework and Servlet API objects
namespace - the namespace containing the component
type - the component type (without any namespace prefix)