edu.umd.cloud9.collection.pmc
Class PmcArticle

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

public class PmcArticle
extends Indexable


Field Summary
static String XML_END_TAG
           
static String XML_START_TAG
           
 
Constructor Summary
PmcArticle()
           
 
Method Summary
 String getContent()
          Returns the content of the document.
 String getDocid()
          Returns the globally-unique String identifier of the document within the collection.
 String getDOI()
           
 String getPmcid()
           
 String getRawXML()
           
 String getReferencesXML()
           
static void readArticle(PmcArticle article, 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

PmcArticle

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

getPmcid

public String getPmcid()

getDOI

public String getDOI()

getReferencesXML

public String getReferencesXML()

getRawXML

public String getRawXML()

readArticle

public static void readArticle(PmcArticle article,
                               String s)