org.apache.cocoon.components.source.impl
Class PartSourceFactory

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
 
Constructor Summary
PartSourceFactory()
           
 
Method Summary
 void contextualize(Context context)
          Get the objectModel from the Context
 Source getSource(String uri, Map parameters)
           
 void release(Source source)
          Do nothing, PartSources don't need to be released.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartSourceFactory

public PartSourceFactory()
Method Detail

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, PartSources 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.