org.apache.cocoon.components.source
Class CocoonSourceFactory
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.components.source.CocoonSourceFactory
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.Loggable, SourceFactory, org.apache.avalon.framework.thread.ThreadSafe
- public final class CocoonSourceFactory
- extends org.apache.avalon.framework.logger.AbstractLoggable
- implements SourceFactory
This class implements the cocoon: protocol.
It cannot be configured like the other source factories
as it needs the current Sitemap
as input.
- Version:
- CVS $Revision: 1.1.2.6 $ $Date: 2001/10/11 08:56:09 $
- Author:
- Carsten Ziegeler
Constructor Summary |
CocoonSourceFactory(Sitemap sitemap,
org.apache.avalon.framework.component.ComponentManager sitemapComponentManager)
|
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 |
CocoonSourceFactory
public CocoonSourceFactory(Sitemap sitemap,
org.apache.avalon.framework.component.ComponentManager sitemapComponentManager)
getSource
public Source getSource(Environment environment,
java.lang.String location)
throws ProcessingException,
java.io.IOException,
java.net.MalformedURLException
- Resolve the source
- Specified by:
getSource
in interface SourceFactory
- Following copied from interface:
org.apache.cocoon.components.source.SourceFactory
- Parameters:
environment
- This is optional.
getSource
public Source getSource(Environment environment,
java.net.URL base,
java.lang.String location)
throws ProcessingException,
java.io.IOException,
java.net.MalformedURLException
- Resolve the source
- Specified by:
getSource
in interface SourceFactory
- Following copied from interface:
org.apache.cocoon.components.source.SourceFactory
- Parameters:
environment
- This is optional.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.