org.apache.cocoon.components.url
Class ContextURLFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.url.ContextURLFactory
- All Implemented Interfaces:
- Component, Contextualizable, LogEnabled, URLFactory
Deprecated. by the new source resolving of avalon excalibur
public class ContextURLFactory
- extends AbstractLogEnabled
- implements URLFactory, Contextualizable
- Version:
- CVS $Id: ContextURLFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Giacomo Pati
Fields inherited from interface org.apache.cocoon.components.url.URLFactory |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected Context context
- Deprecated.
- The context
ContextURLFactory
public ContextURLFactory()
- Deprecated.
getURL
public URL getURL(String location)
throws MalformedURLException
- Deprecated.
- Create a URL from a location. This method supports the
context:// pseudo-protocol for loading
resources accessible from the context root path
- 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
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.