|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface to a randomly accessible collection of documents. This is different from an InformationSource in that this is not queryable. Information is retrieved from here by referring to it by index.
This should maybe be descended from AbstractSequentialList
but it isn't.
Indices should be 0-based
Method Summary | |
Document |
getDoc(int docNum)
Retrieve the document with the given index |
java.lang.Object |
getDocMeta(int docNum)
Retrieve metadata for the indicated document. |
java.util.Iterator |
iterator()
An iterator over the DocumentSet |
void |
setFilters(DocumentFilter[] filters)
A set of filters which getDoc must apply when returning documents |
int |
size()
The number of documents in the set |
Method Detail |
public Document getDoc(int docNum)
public java.lang.Object getDocMeta(int docNum)
public java.util.Iterator iterator()
public void setFilters(DocumentFilter[] filters)
public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |