Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mitre.cvw.docserv
Class DocumentCollection  view DocumentCollection download DocumentCollection.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byorg.mitre.cvw.docserv.DocumentCollection
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.util.List, java.util.RandomAccess, java.io.Serializable

public abstract class DocumentCollection
extends java.util.Vector


Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
protected static java.lang.String COLLECTION_IDENTIFIER
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DocumentCollection()
          Creates a new collection
DocumentCollection(int size)
          Creates a new collection
DocumentCollection(java.util.Vector identifiers)
          Creates a new collection
 
Method Summary
abstract  void delete()
          Delete the collection of documents from the DocServer
 java.lang.String[] getIdentifiers()
          Get the identifiers represented in this collection
abstract  java.util.Hashtable[] getInfo()
          Get metadata about the documents in the collection
abstract  java.util.Dictionary[] makeDictionary(int size)
          Initialize a Dictionary array for the attributes of the collection
abstract  void setInfo(java.util.Hashtable attributes)
          Set common information on a collection of documents.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.util.AbstractCollection
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

COLLECTION_IDENTIFIER

protected static final java.lang.String COLLECTION_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

DocumentCollection

public DocumentCollection(java.util.Vector identifiers)
Creates a new collection


DocumentCollection

public DocumentCollection(int size)
Creates a new collection


DocumentCollection

public DocumentCollection()
Creates a new collection

Method Detail

getIdentifiers

public java.lang.String[] getIdentifiers()
Get the identifiers represented in this collection


makeDictionary

public abstract java.util.Dictionary[] makeDictionary(int size)
Initialize a Dictionary array for the attributes of the collection


delete

public abstract void delete()
                     throws DocServException
Delete the collection of documents from the DocServer


getInfo

public abstract java.util.Hashtable[] getInfo()
                                       throws DocServException
Get metadata about the documents in the collection


setInfo

public abstract void setInfo(java.util.Hashtable attributes)
                      throws DocServException
Set common information on a collection of documents.