org.sbml.jsbml.ext.render
public class XMLTools extends java.lang.Object
Constructor and Description |
---|
XMLTools() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
arrayToWhitespaceSeparatedString(java.lang.String[] list) |
static java.lang.Double[] |
decodeStringToArrayDouble(java.lang.String value) |
static java.lang.Short[] |
decodeStringToArrayShort(java.lang.String value) |
static java.awt.Color |
decodeStringToColor(java.lang.String value) |
static java.lang.String |
encodeArrayDoubleToString(java.lang.Double[] array) |
static java.lang.String |
encodeArrayShortToString(java.lang.Short[] array) |
static java.lang.String |
encodeColorToString(java.awt.Color value) |
static java.lang.String |
fontStyleItalicToString(boolean fontStyleItalic) |
static java.lang.String |
fontWeightBoldToString(boolean fontWeightBold) |
static java.lang.Boolean |
isAbsolutePosition(java.lang.String value) |
static boolean |
parseFontStyleItalic(java.lang.String value) |
static boolean |
parseFontWeightBold(java.lang.String value) |
static java.lang.Double |
parsePosition(java.lang.String value) |
static java.lang.String |
positioningToString(double x,
boolean absoluteX) |
private static java.lang.String |
toHexString(int a) |
public static java.lang.String positioningToString(double x, boolean absoluteX)
x
- absoluteX
- public static java.lang.String fontStyleItalicToString(boolean fontStyleItalic)
fontStyleItalic
- public static java.lang.String fontWeightBoldToString(boolean fontWeightBold)
fontWeightBold
- public static java.lang.Boolean isAbsolutePosition(java.lang.String value)
value
- public static java.lang.Double parsePosition(java.lang.String value)
value
- public static boolean parseFontStyleItalic(java.lang.String value)
value
- public static boolean parseFontWeightBold(java.lang.String value)
value
- public static java.lang.String encodeColorToString(java.awt.Color value)
value
- private static java.lang.String toHexString(int a)
a
- public static java.awt.Color decodeStringToColor(java.lang.String value)
value
- public static java.lang.String arrayToWhitespaceSeparatedString(java.lang.String[] list)
roleList
- public static java.lang.String encodeArrayDoubleToString(java.lang.Double[] array)
array
- public static java.lang.Double[] decodeStringToArrayDouble(java.lang.String value)
value
- public static java.lang.String encodeArrayShortToString(java.lang.Short[] array)
array
- public static java.lang.Short[] decodeStringToArrayShort(java.lang.String value)
value
-