org.apache.cocoon.components.source.impl
Class SitemapSourceFactory
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.source.impl.SitemapSourceFactory
- All Implemented Interfaces:
- Serviceable, SourceFactory, ThreadSafe, URIAbsolutizer
- public final class SitemapSourceFactory
- extends org.apache.cocoon.util.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:
- $Id: SitemapSourceFactory.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
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
- See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
getSource
public Source getSource(String location,
Map parameters)
throws IOException
- Specified by:
getSource
in interface SourceFactory
- Throws:
IOException
- See Also:
SourceFactory.getSource(java.lang.String, java.util.Map)
release
public void release(Source source)
- Specified by:
release
in interface SourceFactory
- See Also:
SourceFactory.release(org.apache.excalibur.source.Source)
absolutize
public String absolutize(String baseURI,
String location)
- Specified by:
absolutize
in interface URIAbsolutizer
- See Also:
URIAbsolutizer.absolutize(java.lang.String, java.lang.String)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.