This class implements the xmldb:// pseudo-protocol and allows to get XML
content from an XML:DB enabled XML database.
The configuration of this protocol is as follows:
<source-factory name="xmldb" src="org.apache.cocoon.components.source.impl.XMLDBSourceFactory>
<driver type="foo" class="org.foomaker.FooXMLDBDriver"
user="scott" password="tiger"
collection="//localhost:8080/foo/base-path/"/>
<driver...
<source-factory>
The type attribute indicates the database type that will be used for URLs (e.g.
xmldb:foo:/path/ ). The collection attribute specifies a base collection
for paths that do not start with "// ".
The returned sources are traversable, modifiable and xml-izable.
version: CVS $Id: XMLDBSourceFactory.java 433543 2006-08-22 06:22:54Z crossley $ |