public class StorageReader<SM extends StorageManager> extends DocumentReader
| Modifier and Type | Field and Description |
|---|---|
static String |
DTD_STORAGE
DTD resource filename of the most Database DTD
|
static String |
DTD_STORAGE_1_0
DTD resource filename of the Database DTD version 1.0
|
protected StorageManagerFactory |
factory
The factory for which the reader reads the document.
|
static String |
PUBLIC_ID_STORAGE
Public ID of the most recent Database DTD
|
static String |
PUBLIC_ID_STORAGE_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 |
|---|
StorageReader(StorageManagerFactory factory,
InputSource source)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributes()
Reads all attributes from the reader and returns them as a map.
|
Map<String,String> |
getCollationMappings() |
Map<String,String> |
getDisallowedFields()
Returns all disallowed fields and their possible alternate values.
|
List<Class<?>> |
getSearchQueryHandlerClasses()
Attempt to obtain a list of SearchQueryHandler classes, using the classname as given in the configuration.
|
Class<SM> |
getStorageManagerClass()
Attempt to load a StorageManager class, using the classname as given in the configuration.
|
List<String> |
getStoreBinaryAsFileObjects() |
List<TypeMapping> |
getTypeMappings()
Returns all type mappings.
|
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_STORAGE_1_0
public static final String DTD_STORAGE_1_0
public static final String PUBLIC_ID_STORAGE
public static final String DTD_STORAGE
protected StorageManagerFactory factory
public StorageReader(StorageManagerFactory factory, InputSource source)
factory - the factory for which to read the storage configurationsource - to the xml document.public Class<SM> getStorageManagerClass() throws StorageConfigurationException
StorageConfigurationException - if the factory version did not match, or the class configured is invalidpublic List<Class<?>> getSearchQueryHandlerClasses() throws StorageConfigurationException
StorageConfigurationException - if the class configured is invalidpublic Map<String,Object> getAttributes()
public Map<String,String> getDisallowedFields()
public List<TypeMapping> getTypeMappings()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}