|
||||||||||
| 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<SM>
public class StorageReader<SM extends StorageManager>
| 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<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. |
| 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<SM> getStorageManagerClass()
throws StorageConfigurationException
StorageConfigurationException - if the factory version did not match, or the class configured is invalid
public 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()
public List<String> getStoreBinaryAsFileObjects()
public Map<String,String> getCollationMappings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||