edu.umd.cloud9.collection.aquaint2
Class Aquaint2Document

java.lang.Object
  extended by edu.umd.cloud9.collection.Indexable
      extended by edu.umd.cloud9.collection.aquaint2.Aquaint2Document
All Implemented Interfaces:
Writable

public class Aquaint2Document
extends Indexable


Field Summary
static String XML_END_TAG
           
static String XML_START_TAG
           
 
Constructor Summary
Aquaint2Document()
           
 
Method Summary
 String getContent()
          Returns the content of the document.
 String getDocid()
          Returns the globally-unique String identifier of the document within the collection.
static void readDocument(Aquaint2Document doc, String s)
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class edu.umd.cloud9.collection.Indexable
getDisplayContent, getDisplayContentType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_START_TAG

public static final String XML_START_TAG
See Also:
Constant Field Values

XML_END_TAG

public static final String XML_END_TAG
See Also:
Constant Field Values
Constructor Detail

Aquaint2Document

public Aquaint2Document()
Method Detail

write

public void write(DataOutput out)
           throws IOException
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Throws:
IOException

getDocid

public String getDocid()
Description copied from class: Indexable
Returns the globally-unique String identifier of the document within the collection.

Specified by:
getDocid in class Indexable

getContent

public String getContent()
Description copied from class: Indexable
Returns the content of the document.

Specified by:
getContent in class Indexable

readDocument

public static void readDocument(Aquaint2Document doc,
                                String s)