org.apache.cocoon.components.source.impl
Class PartSourceFactory
java.lang.Object
org.apache.cocoon.components.source.impl.PartSourceFactory
- All Implemented Interfaces:
- Contextualizable, ThreadSafe, SourceFactory
public class PartSourceFactory
- extends Object
- implements SourceFactory, Contextualizable, ThreadSafe
A factory for Part
based sources (see PartSource
).
- Version:
- $Id: PartSourceFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Paul Crabtree
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartSourceFactory
public PartSourceFactory()
getSource
public Source getSource(String uri,
Map parameters)
throws IOException,
MalformedURLException
- Specified by:
getSource
in interface SourceFactory
- Throws:
IOException
MalformedURLException
release
public void release(Source source)
- Do nothing,
PartSource
s don't need to be released.
- Specified by:
release
in interface SourceFactory
- See Also:
SourceFactory.release(org.apache.excalibur.source.Source)
contextualize
public void contextualize(Context context)
throws ContextException
- Get the objectModel from the Context
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.