org.apache.tapestry.resolver
Class PageSpecificationResolverTest.MockApplicationNamespace

java.lang.Object
  extended by org.apache.tapestry.resolver.PageSpecificationResolverTest.MockApplicationNamespace
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.tapestry.engine.IPropertySource, org.apache.tapestry.INamespace
Enclosing class:
PageSpecificationResolverTest

public static class PageSpecificationResolverTest.MockApplicationNamespace
extends Object
implements org.apache.tapestry.INamespace


Field Summary
 
Fields inherited from interface org.apache.tapestry.INamespace
APPLICATION_NAMESPACE, FRAMEWORK_NAMESPACE, SEPARATOR
 
Method Summary
 String constructQualifiedName(String pageName)
           
 boolean containsComponentType(String type)
           
 boolean containsPage(String name)
           
 List getChildIds()
           
 org.apache.tapestry.INamespace getChildNamespace(String id)
           
 org.apache.tapestry.spec.IComponentSpecification getComponentSpecification(String type)
           
 String getExtendedId()
           
 String getId()
           
 org.apache.hivemind.Location getLocation()
           
 String getNamespaceId()
           
 List getPageNames()
           
 org.apache.tapestry.spec.IComponentSpecification getPageSpecification(String name)
           
 org.apache.tapestry.INamespace getParentNamespace()
           
 String getPropertyValue(String propertyName)
           
 org.apache.tapestry.spec.ILibrarySpecification getSpecification()
           
 org.apache.hivemind.Resource getSpecificationLocation()
           
 void installComponentSpecification(String type, org.apache.tapestry.spec.IComponentSpecification specification)
           
 void installPageSpecification(String pageName, org.apache.tapestry.spec.IComponentSpecification specification)
           
 boolean isApplicationNamespace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

constructQualifiedName

public String constructQualifiedName(String pageName)
Specified by:
constructQualifiedName in interface org.apache.tapestry.INamespace

containsComponentType

public boolean containsComponentType(String type)
Specified by:
containsComponentType in interface org.apache.tapestry.INamespace

containsPage

public boolean containsPage(String name)
Specified by:
containsPage in interface org.apache.tapestry.INamespace

getChildIds

public List getChildIds()
Specified by:
getChildIds in interface org.apache.tapestry.INamespace

getChildNamespace

public org.apache.tapestry.INamespace getChildNamespace(String id)
Specified by:
getChildNamespace in interface org.apache.tapestry.INamespace

getComponentSpecification

public org.apache.tapestry.spec.IComponentSpecification getComponentSpecification(String type)
Specified by:
getComponentSpecification in interface org.apache.tapestry.INamespace

getExtendedId

public String getExtendedId()
Specified by:
getExtendedId in interface org.apache.tapestry.INamespace

getId

public String getId()
Specified by:
getId in interface org.apache.tapestry.INamespace

getLocation

public org.apache.hivemind.Location getLocation()
Specified by:
getLocation in interface org.apache.hivemind.Locatable

getNamespaceId

public String getNamespaceId()
Specified by:
getNamespaceId in interface org.apache.tapestry.INamespace

getPageNames

public List getPageNames()
Specified by:
getPageNames in interface org.apache.tapestry.INamespace

getPageSpecification

public org.apache.tapestry.spec.IComponentSpecification getPageSpecification(String name)
Specified by:
getPageSpecification in interface org.apache.tapestry.INamespace

getParentNamespace

public org.apache.tapestry.INamespace getParentNamespace()
Specified by:
getParentNamespace in interface org.apache.tapestry.INamespace

getPropertyValue

public String getPropertyValue(String propertyName)
Specified by:
getPropertyValue in interface org.apache.tapestry.engine.IPropertySource

getSpecification

public org.apache.tapestry.spec.ILibrarySpecification getSpecification()
Specified by:
getSpecification in interface org.apache.tapestry.INamespace

getSpecificationLocation

public org.apache.hivemind.Resource getSpecificationLocation()
Specified by:
getSpecificationLocation in interface org.apache.tapestry.INamespace

installComponentSpecification

public void installComponentSpecification(String type,
                                          org.apache.tapestry.spec.IComponentSpecification specification)
Specified by:
installComponentSpecification in interface org.apache.tapestry.INamespace

installPageSpecification

public void installPageSpecification(String pageName,
                                     org.apache.tapestry.spec.IComponentSpecification specification)
Specified by:
installPageSpecification in interface org.apache.tapestry.INamespace

isApplicationNamespace

public boolean isApplicationNamespace()
Specified by:
isApplicationNamespace in interface org.apache.tapestry.INamespace


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