|
|||||||||
| 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 java.lang.String |
DTD_STORAGE
DTD resource filename of the most Database DTD |
static java.lang.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 java.lang.String |
PUBLIC_ID_STORAGE
Public ID of the most recent Database DTD |
static java.lang.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,
org.xml.sax.InputSource source)
Constructor. |
|
| Method Summary | |
java.util.Map |
getAttributes()
Reads all attributes from the reader and returns them as a map. |
java.util.Map |
getDisallowedFields()
Returns all disallowed fields and their possible alternate values. |
java.util.List |
getSearchQueryHandlerClasses()
Attempt to obtain a list of SearchQueryHandler classes, using the classname as given in the configuration. |
java.lang.Class |
getStorageManagerClass()
Attempt to load a StorageManager class, using the classname as given in the configuration. |
java.util.List |
getTypeMappings()
Returns all type mappings. |
static void |
registerPublicIDs()
Register the Public Ids for DTDs used by StorageReader This method is called by XMLEntityResolver. |
| Methods inherited from class org.mmbase.util.xml.DocumentReader |
getDocumentBuilder, getDocumentBuilder, getFileName, getNodeTextValue, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PUBLIC_ID_STORAGE_1_0
public static final java.lang.String DTD_STORAGE_1_0
public static final java.lang.String PUBLIC_ID_STORAGE
public static final java.lang.String DTD_STORAGE
protected StorageManagerFactory factory
| Constructor Detail |
public StorageReader(StorageManagerFactory factory,
org.xml.sax.InputSource source)
factory - the factory for which to read the storage configuration| Method Detail |
public static void registerPublicIDs()
public java.lang.Class getStorageManagerClass()
throws StorageConfigurationException
StorageConfigurationException - if the factory version did not match, or the class configured is invalid
public java.util.List getSearchQueryHandlerClasses()
throws StorageConfigurationException
StorageConfigurationException - if the class configured is invalidpublic java.util.Map getAttributes()
public java.util.Map getDisallowedFields()
public java.util.List getTypeMappings()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||