org.sixdml
Interface SixdmlDatabase
- All Superinterfaces:
- Configurable, Database
- All Known Implementing Classes:
- xiSixdmlDatabase
- public interface SixdmlDatabase
- extends Database
SixdmlDatabase.java
This is an encapsulation of the database driver functionality that is necessary
to access an XML database that understands SiXDML.
Created: Thu Jan 10 17:46:25 2002
- Version:
- 1.0
- Author:
- Dare Obasanjo
getResource
public Resource getResource(String name,
String username,
String password)
throws XMLDBException
- Gets the specified resource from the database.
- Parameters:
name - the resource to obtain.username - The username to use for authentication to the database or
null if the database does not support authentication.password - The password to use for authentication to the database or
null if the database does not support authentication.- Returns:
- the requested resource.
getServices
public Service[] getServices()
throws XMLDBException
- Provides a list of all services known to the collection. If no services are known an
empty list is returned.
- Returns:
- An array of registered Service implementations.
- Throws:
XMLDBException - if an error occurs.
getService
public Service getService(String name,
String version)
throws XMLDBException
- Returns a Service instance for the requested service name and version. If no
Service exists for those parameters a null value is returned. The only valid
name and version number for this implementation are "XSLT" and "1.0" respectively.
- Parameters:
name - the name of the service to return.version - the version number of the service to return.- Throws:
XMLDBException - if an error occurs.