|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.sixdml.excelon.xlnSixdmlDatabase
xlnSixdmlDatabase.java The database object that represents an interface to the eXcelon DXE database. It represents an XMLStore whose name is "sixdml". Created: Sat Jan 12 02:15:15 2002
| Constructor Summary | |
xlnSixdmlDatabase()
Initializes the class. |
|
| Method Summary | |
boolean |
acceptsURI(java.lang.String uri)
Determines whether this Database implementation can handle the URI. |
org.sixdml.dbmanagement.SixdmlIndex |
createIndex(java.lang.String name,
java.util.HashMap indexFields)
Creates an index with a name, an indexFields table and an underlying DXE database. |
org.xmldb.api.base.Collection |
getCollection(java.lang.String uri,
java.lang.String username,
java.lang.String password)
Retrieves a Collection instance based on the URI provided in the uri parameter. |
java.lang.String |
getConformanceLevel()
Returns the XML:DB API Conformance level for the implementation. |
java.lang.String |
getName()
Returns the name associated with the Database instance. |
java.lang.String |
getProperty(java.lang.String name)
Returns the value of the property identified by name. |
org.xmldb.api.base.Resource |
getResource(java.lang.String uri,
java.lang.String username,
java.lang.String password)
Gets the specified resource from the database. |
org.xmldb.api.base.Service |
getService(java.lang.String name,
java.lang.String version)
Returns all the top level documents and collections in the database. |
org.xmldb.api.base.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. |
static void |
main(java.lang.String[] args)
Main used for testing class. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the property name to have the value provided in value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public xlnSixdmlDatabase()
| Method Detail |
public org.sixdml.dbmanagement.SixdmlIndex createIndex(java.lang.String name,
java.util.HashMap indexFields)
throws org.sixdml.exceptions.UnsupportedIndexTypeException
name - the name of the index.indexFields - the index fields for the class.org.xmldb.api.base.XMLDBException - if an error occurs.org.sixdml.exceptions.UnsupportedIndexTypeException - if the type of index requested is unsupported by the
database.public java.lang.String getProperty(java.lang.String name)
getProperty in interface org.xmldb.api.base.Configurable
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface org.xmldb.api.base.Configurablename - the name of the property to set.value - the value to set for the property.
public org.xmldb.api.base.Resource getResource(java.lang.String uri,
java.lang.String username,
java.lang.String password)
getResource in interface org.sixdml.SixdmlDatabaseuri - the name or path to 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.public org.sixdml.dbmanagement.SixdmlIndexType[] getSupportedIndexTypes()
org.xmldb.api.base.XMLDBException - if an error occurs.public org.sixdml.transform.SixdmlTransformType[] getSupportedTransformTypes()
org.xmldb.api.base.XMLDBException - if an error occurs.public java.lang.String getName()
getName in interface org.xmldb.api.base.Databasepublic java.lang.String getConformanceLevel()
getConformanceLevel in interface org.xmldb.api.base.Databasepublic boolean acceptsURI(java.lang.String uri)
acceptsURI in interface org.xmldb.api.base.Databaseuri - the URI to check for.
public org.xmldb.api.base.Collection getCollection(java.lang.String uri,
java.lang.String username,
java.lang.String password)
getCollection in interface org.xmldb.api.base.Databaseuri - the URI to use to locate the collection.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.org.xmldb.api.base.XMLDBException - if no such collection exists
public org.xmldb.api.base.Service getService(java.lang.String name,
java.lang.String version)
getService in interface org.sixdml.SixdmlDatabasename - the name of the service to return.version - the version number of the service to return.public org.xmldb.api.base.Service[] getServices()
getServices in interface org.sixdml.SixdmlDatabase
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - IGNORED
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||