org.hippoecm.hst.core.sitemapitemhandler
Class HstSiteMapItemHandlerRegistryImpl

java.lang.Object
  extended by org.hippoecm.hst.core.sitemapitemhandler.HstSiteMapItemHandlerRegistryImpl
All Implemented Interfaces:
HstSiteMapItemHandlerRegistry

public class HstSiteMapItemHandlerRegistryImpl
extends Object
implements HstSiteMapItemHandlerRegistry

HstSiteMapItemHandlerRegistryImpl


Field Summary
protected  Map<HstContainerConfig,Map<String,org.hippoecm.hst.core.sitemapitemhandler.HstSiteMapItemHandlerRegistryImpl.HstSiteMapItemHandlerHolder>> servletConfigSiteMapItemHandlersMap
           
 
Constructor Summary
HstSiteMapItemHandlerRegistryImpl()
           
 
Method Summary
protected  Map<String,org.hippoecm.hst.core.sitemapitemhandler.HstSiteMapItemHandlerRegistryImpl.HstSiteMapItemHandlerHolder> getServletConfigSiteMapItemHandlersMap(HstContainerConfig requestContainerConfig, boolean create)
           
 HstSiteMapItemHandler getSiteMapItemHandler(HstContainerConfig requestContainerConfig, String handlerId)
          Returns the registered HstSiteMapItemHandler.
 void registerSiteMapItemHandler(HstContainerConfig requestContainerConfig, String handlerId, HstSiteMapItemHandler hstSiteMapItemHandler)
          Registers the HstSiteMapItemHandler.
 void unregisterAllSiteMapItemHandlers()
          Unregisters all the SiteMapItemHandlers.
 void unregisterSiteMapItemHandler(HstContainerConfig requestContainerConfig, String handlerId)
          Unregister the HstSiteMapItemHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletConfigSiteMapItemHandlersMap

protected Map<HstContainerConfig,Map<String,org.hippoecm.hst.core.sitemapitemhandler.HstSiteMapItemHandlerRegistryImpl.HstSiteMapItemHandlerHolder>> servletConfigSiteMapItemHandlersMap
Constructor Detail

HstSiteMapItemHandlerRegistryImpl

public HstSiteMapItemHandlerRegistryImpl()
Method Detail

getSiteMapItemHandler

public HstSiteMapItemHandler getSiteMapItemHandler(HstContainerConfig requestContainerConfig,
                                                   String handlerId)
Description copied from interface: HstSiteMapItemHandlerRegistry
Returns the registered HstSiteMapItemHandler. The key is the pair of container configuration and siteMapItemHandler ID.

Specified by:
getSiteMapItemHandler in interface HstSiteMapItemHandlerRegistry
Parameters:
requestContainerConfig - the container configuration
handlerId - the siteMapItemHandler ID
Returns:
the SiteMapItemHandler registered with the key pair.

registerSiteMapItemHandler

public void registerSiteMapItemHandler(HstContainerConfig requestContainerConfig,
                                       String handlerId,
                                       HstSiteMapItemHandler hstSiteMapItemHandler)
Description copied from interface: HstSiteMapItemHandlerRegistry
Registers the HstSiteMapItemHandler. The key is the pair of container configuration and handle ID.

Specified by:
registerSiteMapItemHandler in interface HstSiteMapItemHandlerRegistry
Parameters:
requestContainerConfig - the container configuration
handlerId - the siteMapItemHandler ID

unregisterSiteMapItemHandler

public void unregisterSiteMapItemHandler(HstContainerConfig requestContainerConfig,
                                         String handlerId)
Description copied from interface: HstSiteMapItemHandlerRegistry
Unregister the HstSiteMapItemHandler. The key is the pair of container configuration and handle ID.

Specified by:
unregisterSiteMapItemHandler in interface HstSiteMapItemHandlerRegistry
Parameters:
requestContainerConfig - the container configuration
handlerId - the handle ID

unregisterAllSiteMapItemHandlers

public void unregisterAllSiteMapItemHandlers()
Description copied from interface: HstSiteMapItemHandlerRegistry
Unregisters all the SiteMapItemHandlers.

Specified by:
unregisterAllSiteMapItemHandlers in interface HstSiteMapItemHandlerRegistry

getServletConfigSiteMapItemHandlersMap

protected Map<String,org.hippoecm.hst.core.sitemapitemhandler.HstSiteMapItemHandlerRegistryImpl.HstSiteMapItemHandlerHolder> getServletConfigSiteMapItemHandlersMap(HstContainerConfig requestContainerConfig,
                                                                                                                                                                    boolean create)


Copyright © 2008-2012 Hippo. All Rights Reserved.