org.apache.cocoon.components.url
Class URLFactoryImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.url.URLFactoryImpl
All Implemented Interfaces:
Disposable, Component, Composable, Configurable, Contextualizable, LogEnabled, ThreadSafe, URLFactory

Deprecated. by the new source resolving of avalon excalibur

public class URLFactoryImpl
extends AbstractLogEnabled
implements ThreadSafe, Configurable, Disposable, Composable, Contextualizable, URLFactory

Version:
CVS $Id: URLFactoryImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Giacomo Pati

Field Summary
protected  Context context
          Deprecated. The context
protected  Map factories
          Deprecated. The special URL factories
 
Fields inherited from interface org.apache.cocoon.components.url.URLFactory
ROLE
 
Constructor Summary
URLFactoryImpl()
          Deprecated.  
 
Method Summary
 void compose(ComponentManager manager)
          Deprecated. Set the current ComponentManager instance used by this Composable.
 void configure(Configuration conf)
          Deprecated. Configure the URLFactories
 void contextualize(Context context)
          Deprecated. Get the context
 void dispose()
          Deprecated. Dispose
 URL getURL(String location)
          Deprecated. Create a URL from a location.
 URL getURL(URL base, String location)
          Deprecated.  
 
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
 

Field Detail

context

protected Context context
Deprecated. 
The context


factories

protected Map factories
Deprecated. 
The special URL factories

Constructor Detail

URLFactoryImpl

public URLFactoryImpl()
Deprecated. 
Method Detail

getURL

public URL getURL(String location)
           throws MalformedURLException
Deprecated. 
Create a URL from a location. This method supports specific pseudo-protocol as defined in its configuration

Specified by:
getURL in interface URLFactory
Parameters:
location - The location
Returns:
The URL pointed to by the location
Throws:
MalformedURLException - If the location is malformed

getURL

public URL getURL(URL base,
                  String location)
           throws MalformedURLException
Deprecated. 
Specified by:
getURL in interface URLFactory
Throws:
MalformedURLException

contextualize

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

Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

configure

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

Specified by:
configure in interface Configurable
Throws:
ConfigurationException

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


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