org.apache.cocoon.components.source
Interface SourceFactory

All Superinterfaces:
org.apache.avalon.framework.thread.ThreadSafe
All Known Implementing Classes:
CocoonSourceFactory, FileSourceFactory, XMLDBSourceFactory

public interface SourceFactory
extends org.apache.avalon.framework.thread.ThreadSafe

Version:
$Id: SourceFactory.java,v 1.3 2002/02/22 07:00:13 cziegeler Exp $
Author:
Carsten Ziegeler

Method Summary
 Source getSource(Environment environment, java.lang.String location)
          Get a Source object.
 Source getSource(Environment environment, java.net.URL base, java.lang.String location)
          Get a Source object.
 

Method Detail

getSource

public Source getSource(Environment environment,
                        java.lang.String location)
                 throws ProcessingException,
                        java.net.MalformedURLException,
                        java.io.IOException
Get a Source object.
Parameters:
environment - This is optional.

getSource

public Source getSource(Environment environment,
                        java.net.URL base,
                        java.lang.String location)
                 throws ProcessingException,
                        java.net.MalformedURLException,
                        java.io.IOException
Get a Source object.
Parameters:
environment - This is optional.


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.