public final class PhylogenyDataUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
BRANCH_LENGTH_DEFAULT
Value of -99.0 is used as default value.
|
| Constructor and Description |
|---|
PhylogenyDataUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendClose(Writer w,
String element_name) |
static void |
appendElement(Writer w,
String element_name,
String value) |
static void |
appendElement(Writer w,
String element_name,
String value,
String indentation) |
static void |
appendElement(Writer w,
String element_name,
String value,
String attribute_name,
String attribute_value) |
static void |
appendElement(Writer w,
String element_name,
String value,
String attribute_name,
String attribute_value,
String indentation) |
static void |
appendElement(Writer w,
String element_name,
String value,
String attribute1_name,
String attribute1_value,
String attribute2_name,
String attribute2_value) |
static void |
appendElement(Writer w,
String element_name,
String value,
String attribute1_name,
String attribute1_value,
String attribute2_name,
String attribute2_value,
String indentation) |
static void |
appendElement(Writer w,
String element_name,
String attribute1_name,
String attribute1_value,
String attribute2_name,
String attribute2_value,
String attribute3_name,
String attribute3_value,
String attribute4_name,
String attribute4_value,
String indentation) |
static void |
appendElement(Writer w,
String element_name,
String value,
String attribute1_name,
String attribute1_value,
String attribute2_name,
String attribute2_value,
String attribute3_name,
String attribute3_value,
String attribute4_name,
String attribute4_value,
String attribute5_name,
String attribute5_value,
String indentation) |
static void |
appendOpen(Writer w,
String element_name) |
static void |
appendOpen(Writer w,
String element_name,
String attribute_name,
String attribute_value) |
static void |
appendOpen(Writer w,
String element_name,
String attribute1_name,
String attribute1_value,
String attribute2_name,
String attribute2_value) |
static void |
appendOpen(Writer w,
String element_name,
String attribute1_name,
String attribute1_value,
String attribute2_name,
String attribute2_value,
String attribute3_name,
String attribute3_value) |
static void |
appendOpen(Writer w,
String element_name,
String attribute1_name,
String attribute1_value,
String attribute2_name,
String attribute2_value,
String attribute3_name,
String attribute3_value,
String attribute4_name,
String attribute4_value) |
static void |
appendOpen(Writer w,
String element_name,
String attribute1_name,
String attribute1_value,
String attribute2_name,
String attribute2_value,
String attribute3_name,
String attribute3_value,
String attribute4_name,
String attribute4_value,
String attribute5_name,
String attribute5_value) |
static ArrayList<PhylogenyData> |
copy(ArrayList<PhylogenyData> list)
Creates a deep copy of ArrayList of PhylogenyData objects.
|
static void |
drawLine(double x1,
double y1,
double x2,
double y2,
Graphics g) |
static String |
replaceIllegalXmlCharacters(String value) |
public static final double BRANCH_LENGTH_DEFAULT
public static void appendClose(Writer w, String element_name) throws IOException
IOExceptionpublic static void appendElement(Writer w, String element_name, String value) throws IOException
IOExceptionpublic static void appendElement(Writer w, String element_name, String value, String indentation) throws IOException
IOExceptionpublic static void appendElement(Writer w, String element_name, String value, String attribute_name, String attribute_value) throws IOException
IOExceptionpublic static void appendElement(Writer w, String element_name, String value, String attribute_name, String attribute_value, String indentation) throws IOException
IOExceptionpublic static void appendElement(Writer w, String element_name, String value, String attribute1_name, String attribute1_value, String attribute2_name, String attribute2_value, String indentation) throws IOException
IOExceptionpublic static void appendElement(Writer w, String element_name, String value, String attribute1_name, String attribute1_value, String attribute2_name, String attribute2_value) throws IOException
IOExceptionpublic static void appendElement(Writer w, String element_name, String attribute1_name, String attribute1_value, String attribute2_name, String attribute2_value, String attribute3_name, String attribute3_value, String attribute4_name, String attribute4_value, String indentation) throws IOException
IOExceptionpublic static void appendElement(Writer w, String element_name, String value, String attribute1_name, String attribute1_value, String attribute2_name, String attribute2_value, String attribute3_name, String attribute3_value, String attribute4_name, String attribute4_value, String attribute5_name, String attribute5_value, String indentation) throws IOException
IOExceptionpublic static void appendOpen(Writer w, String element_name) throws IOException
IOExceptionpublic static void appendOpen(Writer w, String element_name, String attribute_name, String attribute_value) throws IOException
IOExceptionpublic static void appendOpen(Writer w, String element_name, String attribute1_name, String attribute1_value, String attribute2_name, String attribute2_value) throws IOException
IOExceptionpublic static void appendOpen(Writer w, String element_name, String attribute1_name, String attribute1_value, String attribute2_name, String attribute2_value, String attribute3_name, String attribute3_value) throws IOException
IOExceptionpublic static void appendOpen(Writer w, String element_name, String attribute1_name, String attribute1_value, String attribute2_name, String attribute2_value, String attribute3_name, String attribute3_value, String attribute4_name, String attribute4_value) throws IOException
IOExceptionpublic static void appendOpen(Writer w, String element_name, String attribute1_name, String attribute1_value, String attribute2_name, String attribute2_value, String attribute3_name, String attribute3_value, String attribute4_name, String attribute4_value, String attribute5_name, String attribute5_value) throws IOException
IOExceptionpublic static ArrayList<PhylogenyData> copy(ArrayList<PhylogenyData> list)
list - an ArrayList of PhylogenyData objectspublic static void drawLine(double x1,
double y1,
double x2,
double y2,
Graphics g)
Copyright © 2016. All rights reserved.