Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » source » [javadoc | source]
org.apache.cocoon.components.source
public final class: XMLDBSourceFactory [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLoggable
      org.apache.cocoon.components.source.XMLDBSourceFactory

All Implemented Interfaces:
    SourceFactory, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.component.Composable

This class implements the xmldb:// pseudo-protocol and allows to get XML content from an XML:DB enabled XML database.
Field Summary
protected  String driver    The driver implementation class 
protected  ComponentManager m_manager    The driver implementation class 
protected  HashMap driverMap    A Map containing the driver list 
Method from org.apache.cocoon.components.source.XMLDBSourceFactory Summary:
compose,   configure,   getSource,   getSource
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.source.XMLDBSourceFactory Detail:
 public  void compose(ComponentManager cm) 
    Compose this Composable object. We need to pass on the ComponentManager to the actual Source.
 public  void configure(Configuration conf) throws ConfigurationException 
    Configure the instance.
 public Source getSource(Environment environment,
    String location) throws MalformedURLException, IOException, ProcessingException 
    Resolve the source
 public Source getSource(Environment environment,
    URL base,
    String location) throws MalformedURLException, IOException, ProcessingException 
    Resolve the source