org.apache.maven.doxia.module.site.manager
Class DefaultSiteModuleManager

java.lang.Object
  extended by org.apache.maven.doxia.module.site.manager.DefaultSiteModuleManager
All Implemented Interfaces:
SiteModuleManager

public class DefaultSiteModuleManager
extends java.lang.Object
implements SiteModuleManager

Simple implementation of the SiteModuleManager interface.

Since:
1.0
Version:
$Id: DefaultSiteModuleManager.java 562708 2007-08-04 12:32:19Z vsiveton $
Author:
Jason van Zyl

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.module.site.manager.SiteModuleManager
ROLE
 
Constructor Summary
DefaultSiteModuleManager()
           
 
Method Summary
 SiteModule getSiteModule(java.lang.String id)
          Returns the SiteModule that corresponds to the given id.
 java.util.Collection getSiteModules()
          Returns a collection of SiteModules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSiteModuleManager

public DefaultSiteModuleManager()
Method Detail

getSiteModules

public java.util.Collection getSiteModules()
Returns a collection of SiteModules.

Specified by:
getSiteModules in interface SiteModuleManager
Returns:
The SiteModules.

getSiteModule

public SiteModule getSiteModule(java.lang.String id)
                         throws SiteModuleNotFoundException
Returns the SiteModule that corresponds to the given id.

Specified by:
getSiteModule in interface SiteModuleManager
Parameters:
id - The identifier.
Returns:
The corresponding SiteModule.
Throws:
SiteModuleNotFoundException - if no SiteModule could be found for the given id.


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.