|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.xml.DocumentReader
org.mmbase.storage.util.StorageReader
| Field Summary | |
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 |
| Fields inherited from class org.mmbase.util.xml.DocumentReader |
document, DTD_ERROR, DTD_ERROR_1_0, FILENOTFOUND, PUBLIC_ID_ERROR, PUBLIC_ID_ERROR_1_0 |
| Constructor Summary | |
StorageReader(StorageManagerFactory factory,
InputSource source)
Constructor. |
|
| Method Summary | |
Map |
getAttributes()
Reads all attributes from the reader and returns them as a map. |
Map |
getDisallowedFields()
Returns all disallowed fields and their possible alternate values. |
List |
getSearchQueryHandlerClasses()
Attempt to obtain a list of SearchQueryHandler classes, using the classname as given in the configuration. |
Class |
getStorageManagerClass()
Attempt to load a StorageManager class, using the classname as given in the configuration. |
List |
getTypeMappings()
Returns all type mappings. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public 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
| Constructor Detail |
public StorageReader(StorageManagerFactory factory,
InputSource source)
factory - the factory for which to read the storage configurationsource - to the xml document.| Method Detail |
public Class getStorageManagerClass()
throws StorageConfigurationException
StorageConfigurationException - if the factory version did not match, or the class configured is invalid
public List getSearchQueryHandlerClasses()
throws StorageConfigurationException
StorageConfigurationException - if the class configured is invalidpublic Map getAttributes()
public Map getDisallowedFields()
public List getTypeMappings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||