net.sf.fastxmldb.impl
Class DatabaseImpl
java.lang.Object
|
+--net.sf.fastxmldb.impl.DatabaseImpl
- All Implemented Interfaces:
- org.xmldb.api.base.Configurable, org.xmldb.api.base.Database
- public class DatabaseImpl
- extends java.lang.Object
- implements org.xmldb.api.base.Database
The Database implementation class
- Author:
- jbirchfield
Field Summary |
static java.lang.String |
DATABASE_NAME
The name of our database implementation |
Method Summary |
boolean |
acceptsURI(java.lang.String uri)
Test if a given URI is handled by this class |
org.xmldb.api.base.Collection |
getCollection(java.lang.String collection,
java.lang.String user,
java.lang.String password)
Retrieve a collection from the database |
java.lang.String |
getConformanceLevel()
Gets the conformanceLevel of this XML:DB implementation |
java.lang.String |
getName()
|
java.lang.String |
getProperty(java.lang.String s)
not yet implemented |
void |
setProperty(java.lang.String s,
java.lang.String s1)
not yet implemented |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATABASE_NAME
public static final java.lang.String DATABASE_NAME
- The name of our database implementation
DatabaseImpl
public DatabaseImpl()
acceptsURI
public boolean acceptsURI(java.lang.String uri)
throws org.xmldb.api.base.XMLDBException
- Test if a given URI is handled by this class
- Specified by:
acceptsURI
in interface org.xmldb.api.base.Database
- Parameters:
uri
- Description of the Parameter- Returns:
- Description of the Return Value
- Throws:
org.xmldb.api.base.XMLDBException
- Description of the Exception
getCollection
public org.xmldb.api.base.Collection getCollection(java.lang.String collection,
java.lang.String user,
java.lang.String password)
throws org.xmldb.api.base.XMLDBException
- Retrieve a collection from the database
- Specified by:
getCollection
in interface org.xmldb.api.base.Database
- Parameters:
collection
- Description of the Parameteruser
- Description of the Parameterpassword
- Description of the Parameter- Returns:
- The collection value
- Throws:
org.xmldb.api.base.XMLDBException
- Description of the Exception
getConformanceLevel
public java.lang.String getConformanceLevel()
throws org.xmldb.api.base.XMLDBException
- Gets the conformanceLevel of this XML:DB implementation
- Specified by:
getConformanceLevel
in interface org.xmldb.api.base.Database
- Returns:
- The conformanceLevel value
- Throws:
org.xmldb.api.base.XMLDBException
- Description of the Exception
setProperty
public void setProperty(java.lang.String s,
java.lang.String s1)
throws org.xmldb.api.base.XMLDBException
- not yet implemented
- Specified by:
setProperty
in interface org.xmldb.api.base.Configurable
- See Also:
Configurable.setProperty(String, String)
getProperty
public java.lang.String getProperty(java.lang.String s)
throws org.xmldb.api.base.XMLDBException
- not yet implemented
- Specified by:
getProperty
in interface org.xmldb.api.base.Configurable
- See Also:
Configurable.getProperty(String)
getName
public java.lang.String getName()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getName
in interface org.xmldb.api.base.Database
- See Also:
Database.getName()
Copyright © 2003-2003 Birchfield & Associates, Inc.. All Rights Reserved.