org.apache.cocoon.sitemap
Class SitemapComponentSelector
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.avalon.excalibur.component.ExcaliburComponentSelector
|
+--org.apache.cocoon.sitemap.SitemapComponentSelector
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.ComponentSelector, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.excalibur.logger.LogKitManageable, OutputComponentSelector, org.apache.avalon.excalibur.component.RoleManageable, org.apache.avalon.framework.thread.ThreadSafe
- public class SitemapComponentSelector
- extends org.apache.avalon.excalibur.component.ExcaliburComponentSelector
- implements OutputComponentSelector
Default component manager for Cocoon's sitemap components.
- Version:
- CVS $Id: SitemapComponentSelector.java,v 1.3 2002/01/22 00:17:13 vgritsenko Exp $
- Author:
- Berin Loritsch, Giacomo Pati
Fields inherited from class org.apache.avalon.excalibur.component.ExcaliburComponentSelector |
m_context |
Methods inherited from class org.apache.avalon.excalibur.component.ExcaliburComponentSelector |
addComponent, addComponentInstance, compose, configure, contextualize, dispose, hasComponent, setLogKitManager, setRoleManager |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.avalon.framework.component.ComponentSelector |
hasComponent |
SitemapComponentSelector
public SitemapComponentSelector()
- The conctructors (same as the Avalon ComponentManager)
setParentSelector
public void setParentSelector(SitemapComponentSelector newSelector)
select
public org.apache.avalon.framework.component.Component select(java.lang.Object hint)
throws org.apache.avalon.framework.component.ComponentException
- Specified by:
select
in interface org.apache.avalon.framework.component.ComponentSelector
- Overrides:
select
in class org.apache.avalon.excalibur.component.ExcaliburComponentSelector
release
public void release(org.apache.avalon.framework.component.Component component)
- Specified by:
release
in interface org.apache.avalon.framework.component.ComponentSelector
- Overrides:
release
in class org.apache.avalon.excalibur.component.ExcaliburComponentSelector
initialize
public void initialize()
- Overrides:
initialize
in class org.apache.avalon.excalibur.component.ExcaliburComponentSelector
getMimeTypeForHint
public java.lang.String getMimeTypeForHint(java.lang.Object hint)
- Description copied from interface:
OutputComponentSelector
- Get the MIME type for a given hint.
- Specified by:
getMimeTypeForHint
in interface OutputComponentSelector
- Following copied from interface:
org.apache.cocoon.components.pipeline.OutputComponentSelector
- Parameters:
hint
- the component hint- Returns:
- the MIME type for this hint, or
null
.
addSitemapComponent
public void addSitemapComponent(java.lang.Object hint,
java.lang.Class component,
org.apache.avalon.framework.configuration.Configuration conf,
java.lang.String mime_type)
throws org.apache.avalon.framework.component.ComponentException,
org.apache.avalon.framework.configuration.ConfigurationException
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.