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:
- Component, LogEnabled, Serviceable, SourceFactory, ThreadSafe, URIAbsolutizer
- public final class SitemapSourceFactory
- extends AbstractLogEnabled
- implements SourceFactory, ThreadSafe, Serviceable, 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.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SitemapSourceFactory
public SitemapSourceFactory()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
getSource
public Source getSource(String location,
Map parameters)
throws MalformedURLException,
IOException
- Specified by:
getSource
in interface SourceFactory
- Throws:
MalformedURLException
IOException
release
public void release(Source source)
- Specified by:
release
in interface SourceFactory
absolutize
public String absolutize(String baseURI,
String location)
- Specified by:
absolutize
in interface URIAbsolutizer
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.