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