org.apache.tapestry.resolver
Interface PageSpecificationResolver

All Known Implementing Classes:
PageSpecificationResolverImpl

public interface PageSpecificationResolver

Service interface for locating a page specification given its name.

Since:
4.0
Author:
Howard Lewis Ship

Method Summary
 INamespace getNamespace()
          Returns the namespace containing the page.
 String getSimplePageName()
          Returns just the name of the page, unqualified by any namespace.
 IComponentSpecification getSpecification()
          Returns the specification for the page.
 void resolve(IRequestCycle cycle, String prefixedName)
          Resolve the name (which may have a library id prefix) to a namespace (see getNamespace()) and a specification (see getSpecification()).
 

Method Detail

resolve

void resolve(IRequestCycle cycle,
             String prefixedName)
Resolve the name (which may have a library id prefix) to a namespace (see getNamespace()) and a specification (see getSpecification()).

Throws:
PageNotFoundException - if the name cannot be resolved to the name of a page

getSimplePageName

String getSimplePageName()
Returns just the name of the page, unqualified by any namespace.


getNamespace

INamespace getNamespace()
Returns the namespace containing the page.


getSpecification

IComponentSpecification getSpecification()
Returns the specification for the page.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.