org.apache.cocoon.components.source
Class SourceHandlerImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.source.SourceHandlerImpl
All Implemented Interfaces:
Disposable, Component, Composable, Configurable, Contextualizable, LogEnabled, SourceHandler

Deprecated. The Avalon Excalibur Source Resolving is now used.

public final class SourceHandlerImpl
extends AbstractLogEnabled
implements Configurable, Disposable, Composable, Contextualizable, SourceHandler

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

Field Summary
 
Fields inherited from interface org.apache.cocoon.components.source.SourceHandler
ROLE
 
Constructor Summary
SourceHandlerImpl()
          Deprecated.  
 
Method Summary
 void addFactory(String protocol, SourceFactory factory)
          Deprecated. Add a factory
 void compose(ComponentManager manager)
          Deprecated. Set the current ComponentManager instance used by this Composable.
 void configure(Configuration conf)
          Deprecated. Configure the SourceFactories
 void contextualize(Context context)
          Deprecated. Get the context
 void dispose()
          Deprecated. Dispose
 Source getSource(Environment environment, String location)
          Deprecated. Get a Source object.
 Source getSource(Environment environment, URL base, String location)
          Deprecated. Get a Source object.
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceHandlerImpl

public SourceHandlerImpl()
Deprecated. 
Method Detail

configure

public void configure(Configuration conf)
               throws ConfigurationException
Deprecated. 
Configure the SourceFactories

Specified by:
configure in interface Configurable
Throws:
ConfigurationException

contextualize

public void contextualize(Context context)
                   throws ContextException
Deprecated. 
Get the context

Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

compose

public void compose(ComponentManager manager)
             throws ComponentException
Deprecated. 
Set the current ComponentManager instance used by this Composable.

Specified by:
compose in interface Composable
Throws:
ComponentException

dispose

public void dispose()
Deprecated. 
Dispose

Specified by:
dispose in interface Disposable

getSource

public Source getSource(Environment environment,
                        String location)
                 throws ProcessingException,
                        MalformedURLException,
                        IOException
Deprecated. 
Get a Source object.

Specified by:
getSource in interface SourceHandler
Parameters:
environment - This is optional.
Throws:
ProcessingException
MalformedURLException
IOException

getSource

public Source getSource(Environment environment,
                        URL base,
                        String location)
                 throws ProcessingException,
                        MalformedURLException,
                        IOException
Deprecated. 
Get a Source object.

Specified by:
getSource in interface SourceHandler
Parameters:
environment - This is optional.
Throws:
ProcessingException
MalformedURLException
IOException

addFactory

public void addFactory(String protocol,
                       SourceFactory factory)
                throws ProcessingException
Deprecated. 
Add a factory

Specified by:
addFactory in interface SourceHandler
Throws:
ProcessingException


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