edu.umd.cloud9.collection.spinn3r
Class Spinn3rItem

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

public class Spinn3rItem
extends Indexable


Field Summary
static String XML_END_TAG
           
static String XML_START_TAG
           
 
Constructor Summary
Spinn3rItem()
           
 
Method Summary
 String getContent()
          Returns the content of the document.
 String getDescription()
           
 String getDocid()
          Returns the globally-unique String identifier of the document within the collection.
 String getGuid()
           
 String getLanguage()
           
 Date getPubDate()
           
 String getRawXML()
           
 String getTitle()
           
 void readFields(DataInput in)
           
static void readItem(Spinn3rItem item, String s)
           
 void setDocid(String docid)
           
 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

Spinn3rItem

public Spinn3rItem()
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

setDocid

public void setDocid(String docid)

getContent

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

Specified by:
getContent in class Indexable

getRawXML

public String getRawXML()

getTitle

public String getTitle()

getDescription

public String getDescription()

getGuid

public String getGuid()

getLanguage

public String getLanguage()

getPubDate

public Date getPubDate()

readItem

public static void readItem(Spinn3rItem item,
                            String s)