This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.cocoon.components.source
Class CocoonSourceFactory
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.framework.logger.AbstractLogEnabled
       org.apache.cocoon.components.source.CocoonSourceFactory
org.apache.cocoon.components.source.CocoonSourceFactory
- All Implemented Interfaces: 
- LogEnabled, ThreadSafe, SourceFactory
- public final class CocoonSourceFactory 
- extends AbstractLogEnabled- 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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CocoonSourceFactory
public CocoonSourceFactory(Processor processor,
                           ComponentManager manager)
getSource
public Source getSource(Environment environment,
                        String location)
                 throws ProcessingException,
                        IOException,
                        MalformedURLException
- Resolve the source
 
- 
- Specified by:
- getSourcein interface- SourceFactory
 
- 
- Parameters:
- environment- This is optional.
- Throws:
- ProcessingException
- IOException
- MalformedURLException
 
getSource
public Source getSource(Environment environment,
                        URL base,
                        String location)
                 throws ProcessingException,
                        IOException,
                        MalformedURLException
- Resolve the source
 
- 
- Specified by:
- getSourcein interface- SourceFactory
 
- 
- Parameters:
- environment- This is optional.
- Throws:
- ProcessingException
- IOException
- MalformedURLException
 
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.