org.apache.cocoon.environment
Interface SourceResolver

All Superinterfaces:
SourceResolver
All Known Subinterfaces:
Environment
All Known Implementing Classes:
AbstractCommandLineEnvironment, AbstractEnvironment, BackgroundEnvironment, EnvironmentWrapper, FileSavingEnvironment, HttpEnvironment, LinkSamplingEnvironment, MutableEnvironmentFacade, PortletEnvironment

public interface SourceResolver
extends SourceResolver

Base interface for resolving a source by system identifiers. This component is a special extension of the Avalon Excalibur SourceResolver that is only used for Cocoon sitemap components.

Version:
CVS $Id: SourceResolver.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
 
Fields inherited from interface org.apache.excalibur.source.SourceResolver
METHOD, ROLE, URI_ENCODING, URI_PARAMETERS
 
Method Summary
 Source resolve(String systemID)
          Deprecated. Use the resolveURI methods instead
 
Methods inherited from interface org.apache.excalibur.source.SourceResolver
release, resolveURI, resolveURI
 

Method Detail

resolve

Source resolve(String systemID)
               throws ProcessingException,
                      SAXException,
                      IOException
Deprecated. Use the resolveURI methods instead

Resolve the source.

Parameters:
systemID - This is either a system identifier (java.net.URL or a local file.
Throws:
ProcessingException
SAXException
IOException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.