public class Reference extends Object implements PhylogenyData
| Constructor and Description |
|---|
Reference(String desc) |
Reference(String desc,
String doi) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
asSimpleText() |
StringBuffer |
asText() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
String |
getDescription() |
String |
getDoi() |
boolean |
isEqual(PhylogenyData data)
Compares this PhylogenyData to PhylogenyData data.
|
void |
setDoi(String doi) |
void |
setValue(String value) |
StringBuffer |
toNHX() |
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data.
|
String |
toString() |
public Reference(String desc)
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic String getDoi()
public String getDescription()
public boolean isEqual(PhylogenyData data)
PhylogenyDataisEqual in interface PhylogenyDatapublic void setDoi(String doi) throws PhyloXmlDataFormatException
PhyloXmlDataFormatExceptionpublic void setValue(String value)
public StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(Writer writer, int level, String indentation) throws IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDataIOExceptionCopyright © 2016. All rights reserved.