|
|||||||||
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.source.XMLDBSourceFactory
This class implements the xmldb:// pseudo-protocol and allows to get XML content from an XML:DB enabled XML database.
Field Summary | |
protected java.lang.String |
driver
The driver implementation class |
protected java.util.HashMap |
driverMap
A Map containing the driver list |
protected org.apache.avalon.framework.component.ComponentManager |
m_manager
The driver implementation class |
Constructor Summary | |
XMLDBSourceFactory()
|
Method Summary | |
void |
compose(org.apache.avalon.framework.component.ComponentManager cm)
Compose this Composable object. |
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
Configure the instance. |
Source |
getSource(Environment environment,
java.lang.String location)
Resolve the source |
Source |
getSource(Environment environment,
java.net.URL base,
java.lang.String location)
Resolve the source |
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 java.lang.String driver
protected org.apache.avalon.framework.component.ComponentManager m_manager
protected java.util.HashMap driverMap
Constructor Detail |
public XMLDBSourceFactory()
Method Detail |
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 cm)
compose
in interface org.apache.avalon.framework.component.Composable
public Source getSource(Environment environment, java.lang.String location) throws ProcessingException, java.io.IOException, java.net.MalformedURLException
getSource
in interface SourceFactory
environment
- This is optional.
ProcessingException
java.io.IOException
java.net.MalformedURLException
public Source getSource(Environment environment, java.net.URL base, java.lang.String location) throws ProcessingException, java.io.IOException, java.net.MalformedURLException
getSource
in interface SourceFactory
environment
- This is optional.
ProcessingException
java.io.IOException
java.net.MalformedURLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |