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 Object
implements SiteModuleManager

Simple implementation of the SiteModuleManager interface.

Since:
1.0
Version:
$Id: DefaultSiteModuleManager.java 1090706 2011-04-09 23:15:28Z hboutemy $
Author:
Jason van Zyl
Plexus component

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.module.site.manager.SiteModuleManager
ROLE
 
Constructor Summary
DefaultSiteModuleManager()
           
 
Method Summary
 SiteModule getSiteModule(String id)
          Returns the SiteModule that corresponds to the given id.
 Collection<SiteModule> 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 Collection<SiteModule> getSiteModules()
Returns a collection of SiteModules.

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

getSiteModule

public SiteModule getSiteModule(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 © 2005-2012 The Apache Software Foundation. All Rights Reserved.