edu.umd.cloud9.collection.spinn3r
Class Spinn3rItem
java.lang.Object
edu.umd.cloud9.collection.Indexable
edu.umd.cloud9.collection.spinn3r.Spinn3rItem
- All Implemented Interfaces:
- Writable
public class Spinn3rItem
- extends Indexable
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
Spinn3rItem
public Spinn3rItem()
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)