public class PropertiesMap extends java.lang.Object implements PhylogenyData
| Constructor and Description |
|---|
PropertiesMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(Property property) |
java.lang.StringBuffer |
asSimpleText() |
java.lang.StringBuffer |
asText() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
java.util.SortedMap<java.lang.String,Property> |
getProperties() |
Property[] |
getPropertiesArray() |
Property |
getProperty(java.lang.String ref) |
java.lang.String[] |
getPropertyRefs()
Returns all property refs of this PhylogenyNode as String array.
|
boolean |
isEqual(PhylogenyData data)
Compares this PhylogenyData to PhylogenyData data.
|
boolean |
refExists(java.lang.String ref) |
java.lang.StringBuffer |
toNHX() |
void |
toPhyloXML(java.io.Writer writer,
int level,
java.lang.String indentation)
Writes a phyloXML representation of this phylogeny data.
|
java.lang.String |
toString() |
public void addProperty(Property property) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic java.lang.StringBuffer asText()
asText in interface PhylogenyDatapublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic java.util.SortedMap<java.lang.String,Property> getProperties()
public Property[] getPropertiesArray()
public Property getProperty(java.lang.String ref) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.String[] getPropertyRefs()
public boolean isEqual(PhylogenyData data)
PhylogenyDataisEqual in interface PhylogenyDatapublic boolean refExists(java.lang.String ref)
public java.lang.StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(java.io.Writer writer,
int level,
java.lang.String indentation)
throws java.io.IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDatajava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object