public class DatabaseStorageLookup extends DocumentReader
| Modifier and Type | Field and Description |
|---|---|
static String |
DTD_DATABASE_STORAGE_LOOKUP
DTD resource filename of the most Database DTD
|
static String |
DTD_DATABASE_STORAGE_LOOKUP_1_0
DTD resource filename of the Database DTD version 1.0
|
static String |
PUBLIC_ID_DATABASE_STORAGE_LOOKUP
Public ID of the most recent Database DTD
|
static String |
PUBLIC_ID_DATABASE_STORAGE_LOOKUP_1_0
Public ID of the Storage DTD version 1.0
|
document, DTD_ERROR, DTD_ERROR_1_0, FILENOTFOUND, PUBLIC_ID_ERROR, PUBLIC_ID_ERROR_1_0| Constructor and Description |
|---|
DatabaseStorageLookup()
Constructor, accesses the storage lookup xml resource
|
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
getMetaURL(Class clazz)
Returns an given connection URL for a given Driver CLass.
|
(package private) String |
getResourcePath(DatabaseMetaData dmd)
Obtain an path to a database configuration resource
|
appendChild, getAttribute, getChildElements, getChildElements, getChildElements, getChildElements, getDocument, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getElementAttributeValue, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue, getElementValue, getNodeTextValue, getNodeTextValue, getRootElement, getSystemId, hasAttribute, main, registerPublicIDs, setNodeTextValue, setPrefix, setSystemId, toDocument, validate, validatepublic static final String PUBLIC_ID_DATABASE_STORAGE_LOOKUP_1_0
public static final String DTD_DATABASE_STORAGE_LOOKUP_1_0
public static final String PUBLIC_ID_DATABASE_STORAGE_LOOKUP
public static final String DTD_DATABASE_STORAGE_LOOKUP
DatabaseStorageLookup()
String getResourcePath(DatabaseMetaData dmd) throws SQLException, StorageConfigurationException
dmd - the database meta datanull if it cannot be determinedSQLExceptionStorageConfigurationExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}