org.apache.tapestry.pageload
Class ComponentClassProviderContext

java.lang.Object
  extended by org.apache.tapestry.pageload.ComponentClassProviderContext

public class ComponentClassProviderContext
extends Object

Contains information needed when trying to determine the name of a page or component class.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ComponentClassProviderContext(String pageName, IComponentSpecification pageSpecification, INamespace namespace)
           
 
Method Summary
 String getName()
          Returns the simple, unqualifed name of the page, or the type of the component.
 INamespace getNamespace()
          Returns the namespace containing the page.
 IComponentSpecification getSpecification()
          Returns the specification defining the page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentClassProviderContext

public ComponentClassProviderContext(String pageName,
                                     IComponentSpecification pageSpecification,
                                     INamespace namespace)
Method Detail

getName

public String getName()
Returns the simple, unqualifed name of the page, or the type of the component. There will not be a namespace prefix, but there may be one or more folders (i.e., "admin/Menu").


getNamespace

public INamespace getNamespace()
Returns the namespace containing the page.


getSpecification

public IComponentSpecification getSpecification()
Returns the specification defining the page.



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