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 $Id: CocoonSourceFactory.java,v 1.4.2.1 2002/08/04 04:11:52 vgritsenko Exp $
- Author:
- Carsten Ziegeler
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(Processor processor,
org.apache.avalon.framework.component.ComponentManager manager)
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-2002 Apache Software Foundation. All Rights Reserved.