org.apache.tiles.definition
Class MockPublicUrlDefinitionsFactory
java.lang.Object
org.apache.tiles.definition.UrlDefinitionsFactory
org.apache.tiles.definition.MockPublicUrlDefinitionsFactory
- All Implemented Interfaces:
- DefinitionsFactory, ReloadableDefinitionsFactory
public class MockPublicUrlDefinitionsFactory
- extends UrlDefinitionsFactory
Mock implementation of UrlDefinitionsFactory that exposes two of its methods
as public instead of protected.
- Version:
- $Rev: 527536 $ $Date: 2007-04-11 17:44:51 +0200 (Wed, 11 Apr 2007) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockPublicUrlDefinitionsFactory
public MockPublicUrlDefinitionsFactory()
addDefinitions
public void addDefinitions(Definitions definitions,
TilesRequestContext tilesContext)
throws DefinitionsFactoryException
- Exposes the
addDefinitions method of
UrlDefinitionsFactory.
- Overrides:
addDefinitions in class UrlDefinitionsFactory
- Parameters:
definitions - The definitions to add.tilesContext - The request context to use.
- Throws:
DefinitionsFactoryException - If something goes wrong during the
addition.- See Also:
UrlDefinitionsFactory.addDefinitions(org.apache.tiles.definition.Definitions,
org.apache.tiles.context.TilesRequestContext)
isContextProcessed
public boolean isContextProcessed(TilesRequestContext tilesContext)
- Exposes the
isLocaleProcessed method of
UrlDefinitionsFactory.
- Overrides:
isContextProcessed in class UrlDefinitionsFactory
- Parameters:
tilesContext - The request context to use.
- Returns:
true if the context has been already processed.- See Also:
#isContextProcessed(org.apache.tiles.context.TilesRequestContext)
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.