|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cloud9.collection.Indexable
edu.umd.cloud9.collection.medline.MedlineCitation
public class MedlineCitation
Object representing a MEDLINE citation.
| Field Summary | |
|---|---|
static String |
XML_END_TAG
End delimiter of the document, which is < /MedlineCitation>. |
static String |
XML_START_TAG
Start delimiter of the document, which is < MedlineCitation
(without closing angle bracket). |
| Constructor Summary | |
|---|---|
MedlineCitation()
Creates an empty MedlineCitation object. |
|
| Method Summary | |
|---|---|
String |
getAbstract()
Returns the abstract of this citation. |
String |
getContent()
Returns the content of this citation, which is the title and abstract. |
String |
getDocid()
Returns the docid of this MEDLINE citation, which is its PMID. |
String |
getPmid()
Returns the PMID of this MEDLINE citation. |
String |
getRawXML()
Returns the raw XML of this citation. |
String |
getTitle()
Returns the title of this MEDLINE citation. |
static void |
readCitation(MedlineCitation citation,
String s)
Reads a raw XML string into a MedlineCitation object. |
void |
readFields(DataInput in)
Serializes this object. |
void |
write(DataOutput out)
Deserializes this object. |
| 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 |
|---|
public static final String XML_START_TAG
MedlineCitation
(without closing angle bracket).
public static final String XML_END_TAG
/MedlineCitation>.
| Constructor Detail |
|---|
public MedlineCitation()
MedlineCitation object.
| Method Detail |
|---|
public void write(DataOutput out)
throws IOException
IOException
public void readFields(DataInput in)
throws IOException
IOExceptionpublic String getDocid()
getDocid in class Indexablepublic String getContent()
getContent in class Indexablepublic String getPmid()
public String getTitle()
public String getAbstract()
public String getRawXML()
public static void readCitation(MedlineCitation citation,
String s)
MedlineCitation object.
citation - the MedlineCitation objects - raw XML string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||