|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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
| Method Summary | |
org.sixdml.dbmanagement.SixdmlIndex |
createIndex(String name,
HashMap indexFields)
Creates an index with a name, an indexFields table and an underlying DXE database. |
Resource |
getResource(String name,
String username,
String password)
Gets the specified resource from the database. |
Service |
getService(String name,
String version)
Returns a Service instance for the requested service name and version. |
Service[] |
getServices()
Provides a list of all services known to the collection. |
org.sixdml.dbmanagement.SixdmlIndexType[] |
getSupportedIndexTypes()
Gets the types of index that are supported by the this database. |
org.sixdml.transform.SixdmlTransformType[] |
getSupportedTransformTypes()
Gets the types of transforms that are supported by the this database. |
| Methods inherited from interface org.xmldb.api.base.Database |
acceptsURI, getCollection, getConformanceLevel, getName |
| Methods inherited from interface org.xmldb.api.base.Configurable |
getProperty, setProperty |
| Method Detail |
public Resource getResource(String name,
String username,
String password)
throws XMLDBException
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.
XMLDBException
public org.sixdml.dbmanagement.SixdmlIndex createIndex(String name,
HashMap indexFields)
throws XMLDBException,
UnsupportedIndexTypeException
name - the name of the index.indexFields - the index fields for the class.
XMLDBException - if an error occurs.
UnsupportedIndexTypeException - if the type of index requested is unsupported by the
database.
public org.sixdml.dbmanagement.SixdmlIndexType[] getSupportedIndexTypes()
throws XMLDBException
XMLDBException - if an error occurs.
public org.sixdml.transform.SixdmlTransformType[] getSupportedTransformTypes()
throws XMLDBException
XMLDBException - if an error occurs.
public Service[] getServices()
throws XMLDBException
XMLDBException - if an error occurs.
public Service getService(String name,
String version)
throws XMLDBException
name - the name of the service to return.version - the version number of the service to return.
XMLDBException - if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||