|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--iglu.ir.DefaultDocumentSet
Simple document set. Basically a wrapper for a LinkedList
| Field Summary | |
(package private) java.util.LinkedList |
docs
|
(package private) DocumentFilter[] |
filters
|
(package private) java.util.LinkedList |
metaData
|
| Constructor Summary | |
DefaultDocumentSet()
Create a new DocumentSet. |
|
| Method Summary | |
int |
addDoc(Document d)
Add a new document with no metadata |
int |
addDoc(Document d,
java.lang.Object metaData)
Add a new document with metadata |
Document |
getDoc(int i)
Get document i |
java.lang.Object |
getDocMeta(int i)
Get meta data for document i |
java.util.Iterator |
iterator()
Get an iterator over the document set. |
void |
setFilters(DocumentFilter[] filters)
set the filter list |
int |
size()
Return the number of documents in the document set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.util.LinkedList docs
java.util.LinkedList metaData
DocumentFilter[] filters
| Constructor Detail |
public DefaultDocumentSet()
| Method Detail |
public int addDoc(Document d)
addDoc in interface EditableDocumentSet
public int addDoc(Document d,
java.lang.Object metaData)
addDoc in interface EditableDocumentSetpublic Document getDoc(int i)
getDoc in interface DocumentSetpublic void setFilters(DocumentFilter[] filters)
setFilters in interface DocumentSetpublic java.lang.Object getDocMeta(int i)
getDocMeta in interface DocumentSetpublic java.util.Iterator iterator()
iterator in interface DocumentSetpublic int size()
size in interface DocumentSet
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||