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, IPropertySource, INamespace
Enclosing class:
PageSpecificationResolverTest

public static class PageSpecificationResolverTest.MockApplicationNamespace
extends Object
implements 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()
           
 INamespace getChildNamespace(String id)
           
 IComponentSpecification getComponentSpecification(String type)
           
 String getExtendedId()
           
 String getId()
           
 org.apache.hivemind.Location getLocation()
           
 String getNamespaceId()
           
 List getPageNames()
           
 IComponentSpecification getPageSpecification(String name)
           
 INamespace getParentNamespace()
           
 String getPropertyValue(String propertyName)
           
 ILibrarySpecification getSpecification()
           
 org.apache.hivemind.Resource getSpecificationLocation()
           
 void installComponentSpecification(String type, IComponentSpecification specification)
           
 void installPageSpecification(String pageName, 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 INamespace

containsComponentType

public boolean containsComponentType(String type)
Specified by:
containsComponentType in interface INamespace

containsPage

public boolean containsPage(String name)
Specified by:
containsPage in interface INamespace

getChildIds

public List getChildIds()
Specified by:
getChildIds in interface INamespace

getChildNamespace

public INamespace getChildNamespace(String id)
Specified by:
getChildNamespace in interface INamespace

getComponentSpecification

public IComponentSpecification getComponentSpecification(String type)
Specified by:
getComponentSpecification in interface INamespace

getExtendedId

public String getExtendedId()
Specified by:
getExtendedId in interface INamespace

getId

public String getId()
Specified by:
getId in interface 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 INamespace

getPageNames

public List getPageNames()
Specified by:
getPageNames in interface INamespace

getPageSpecification

public IComponentSpecification getPageSpecification(String name)
Specified by:
getPageSpecification in interface INamespace

getParentNamespace

public INamespace getParentNamespace()
Specified by:
getParentNamespace in interface INamespace

getPropertyValue

public String getPropertyValue(String propertyName)
Specified by:
getPropertyValue in interface IPropertySource

getSpecification

public ILibrarySpecification getSpecification()
Specified by:
getSpecification in interface INamespace

getSpecificationLocation

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

installComponentSpecification

public void installComponentSpecification(String type,
                                          IComponentSpecification specification)
Specified by:
installComponentSpecification in interface INamespace

installPageSpecification

public void installPageSpecification(String pageName,
                                     IComponentSpecification specification)
Specified by:
installPageSpecification in interface INamespace

isApplicationNamespace

public boolean isApplicationNamespace()
Specified by:
isApplicationNamespace in interface INamespace


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