|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.cocoon.components.url.URLFactoryImpl
Field Summary | |
protected org.apache.avalon.framework.context.Context |
context
The context |
protected java.util.Map |
factories
The special URL factories |
Fields inherited from interface org.apache.cocoon.components.url.URLFactory |
ROLE |
Constructor Summary | |
URLFactoryImpl()
|
Method Summary | |
void |
compose(org.apache.avalon.framework.component.ComponentManager manager)
Set the current ComponentManager instance used by this
Composable . |
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
Configure the URLFactories |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Get the context |
void |
dispose()
Dispose |
java.net.URL |
getURL(java.lang.String location)
Create a URL from a location. |
java.net.URL |
getURL(java.net.URL base,
java.lang.String location)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.avalon.framework.context.Context context
protected java.util.Map factories
Constructor Detail |
public URLFactoryImpl()
Method Detail |
public java.net.URL getURL(java.lang.String location) throws java.net.MalformedURLException
getURL
in interface URLFactory
location
- The location
java.net.MalformedURLException
- If the location is malformedpublic java.net.URL getURL(java.net.URL base, java.lang.String location) throws java.net.MalformedURLException
getURL
in interface URLFactory
java.net.MalformedURLException
public void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
org.apache.avalon.framework.context.ContextException
public void configure(org.apache.avalon.framework.configuration.Configuration conf) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.configuration.ConfigurationException
public void compose(org.apache.avalon.framework.component.ComponentManager manager) throws org.apache.avalon.framework.component.ComponentException
ComponentManager
instance used by this
Composable
.
compose
in interface org.apache.avalon.framework.component.Composable
org.apache.avalon.framework.component.ComponentException
public void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |