org.exist.collections
Class CollectionConfiguration
java.lang.Object
org.exist.collections.CollectionConfiguration
- public class CollectionConfiguration
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COLLECTION_CONFIG_SUFFIX
public static final java.lang.String COLLECTION_CONFIG_SUFFIX
- See Also:
- Constant Field Values
DEFAULT_COLLECTION_CONFIG_FILE
public static final java.lang.String DEFAULT_COLLECTION_CONFIG_FILE
- See Also:
- Constant Field Values
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
CollectionConfiguration
public CollectionConfiguration(BrokerPool pool,
Collection collection)
isCollectionConfigDocument
public static boolean isCollectionConfigDocument(java.lang.String docName)
isCollectionConfigDocument
public static boolean isCollectionConfigDocument(DocumentImpl doc)
read
protected void read(DBBroker broker,
org.w3c.dom.Document doc,
java.lang.String srcCollectionName,
java.lang.String docName)
throws CollectionConfigurationException
- Parameters:
broker - srcCollectionName - The collection from which the document is being read. This
is not necessarily the same as this.collection.getName() because the
source document may have come from a parent collection.docName - The name of the document being readdoc - collection configuration document
- Throws:
CollectionConfigurationException
getDocName
public java.lang.String getDocName()
setDocName
public void setDocName(java.lang.String docName)
setIndexConfiguration
protected void setIndexConfiguration(IndexSpec spec)
getCollection
public Collection getCollection()
getSourceCollectionName
public java.lang.String getSourceCollectionName()
getDefCollPermissions
public int getDefCollPermissions()
getDefResPermissions
public int getDefResPermissions()
getIndexConfiguration
public IndexSpec getIndexConfiguration()
getTrigger
public Trigger getTrigger(int eventType)
toString
public java.lang.String toString()
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.