org.apache.cocoon.components.source.impl
Class EmptySourceFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.source.impl.EmptySourceFactory
- All Implemented Interfaces:
- Component, LogEnabled, SourceFactory, ThreadSafe
- public class EmptySourceFactory
- extends AbstractLogEnabled
- implements SourceFactory, ThreadSafe
A factory for 'empty:' sources (see EmptySource).
- Since:
- 2.1.8
- Version:
- $Id: EmptySourceFactory.java 292327 2005-09-28 22:03:40Z vgritsenko $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptySourceFactory
public EmptySourceFactory()
getSource
public Source getSource(String location,
Map parameters)
throws IOException,
MalformedURLException
- Get an
EmptySource object.
- Specified by:
getSource in interface SourceFactory
- Parameters:
location - The URI to resolve - this URI includes the scheme.parameters - this is optional and not used here
- Throws:
IOException
MalformedURLException- 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)
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.