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:
- LogEnabled, ThreadSafe, SourceFactory
public class EmptySourceFactory
- extends AbstractLogEnabled
- implements SourceFactory, ThreadSafe
A factory for 'empty:' sources (see EmptySource
).
- Since:
- 2.1.8
- Version:
- $Id: EmptySourceFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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-2010 The Apache Software Foundation. All Rights Reserved.