org.apache.cocoon.components.source.impl
Class SitemapSourceFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.source.impl.SitemapSourceFactory
- All Implemented Interfaces:
- Composable, LogEnabled, ThreadSafe, SourceFactory, URIAbsolutizer
public final class SitemapSourceFactory
- extends AbstractLogEnabled
- implements SourceFactory, ThreadSafe, Composable, URIAbsolutizer
This class implements the cocoon: protocol.
It cannot be used like other source factories
as it needs the current Sitemap
as input.
- Version:
- CVS $Id: SitemapSourceFactory.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 |
SitemapSourceFactory
public SitemapSourceFactory()
compose
public void compose(ComponentManager manager)
- Composable
- Specified by:
compose
in interface Composable
getSource
public Source getSource(String location,
Map parameters)
throws MalformedURLException,
IOException
- Get a
Source
object.
- Specified by:
getSource
in interface SourceFactory
- Parameters:
parameters
- This is optional.
- Throws:
MalformedURLException
IOException
release
public void release(Source source)
- Release a
Source
object.
- Specified by:
release
in interface SourceFactory
absolutize
public String absolutize(String baseURI,
String location)
- Specified by:
absolutize
in interface URIAbsolutizer
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.