org.exist.dom
Interface DocumentSet

All Known Subinterfaces:
MutableDocumentSet
All Known Implementing Classes:
DefaultDocumentSet, ExtArrayNodeSet, NewArrayNodeSet, NodeProxy

public interface DocumentSet


Field Summary
static DocumentSet EMPTY_DOCUMENT_SET
           
 
Method Summary
 boolean contains(DocumentSet other)
           
 boolean contains(int id)
           
 NodeSet docsToNodeSet()
           
 boolean equalDocs(DocumentSet other)
           
 java.util.Iterator<Collection> getCollectionIterator()
           
 DocumentImpl getDoc(int docId)
           
 DocumentImpl getDocumentAt(int pos)
           
 int getDocumentCount()
           
 java.util.Iterator<DocumentImpl> getDocumentIterator()
           
 XmldbURI[] getNames()
           
 DocumentSet intersection(DocumentSet other)
           
 void lock(DBBroker broker, boolean exclusive, boolean checkExisting)
           
 void unlock(boolean exclusive)
           
 

Field Detail

EMPTY_DOCUMENT_SET

static final DocumentSet EMPTY_DOCUMENT_SET
Method Detail

getDocumentIterator

java.util.Iterator<DocumentImpl> getDocumentIterator()

getCollectionIterator

java.util.Iterator<Collection> getCollectionIterator()

getDocumentCount

int getDocumentCount()

getDocumentAt

DocumentImpl getDocumentAt(int pos)

getDoc

DocumentImpl getDoc(int docId)

getNames

XmldbURI[] getNames()

intersection

DocumentSet intersection(DocumentSet other)

contains

boolean contains(DocumentSet other)

contains

boolean contains(int id)

docsToNodeSet

NodeSet docsToNodeSet()

lock

void lock(DBBroker broker,
          boolean exclusive,
          boolean checkExisting)
          throws LockException
Throws:
LockException

unlock

void unlock(boolean exclusive)

equalDocs

boolean equalDocs(DocumentSet other)