public class StaticXMLTools extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.jdom.Element |
convertColorToXML(Color c)
Converts a
Color into XML-Code |
static org.jdom.Element |
convertFontToXML(Font f)
Converts the
Font into XML-Code. |
static Color |
convertXMLElementToColor(org.jdom.Element xmlElement)
Converts the specified
XMLElement into a Color. |
static Font |
convertXMLElementToFont(org.jdom.Element xmlElement)
Converts
XMLElement into Font. |
static void |
logXML(org.jdom.Element element)
Posts the specified XML on the Logger.
|
public static org.jdom.Element convertColorToXML(Color c)
Color into XML-Code c - Color, which is going to be convertedpublic static Color convertXMLElementToColor(org.jdom.Element xmlElement)
XMLElement into a Color.xmlElement - xmlElemt, which is going to be convertedColorpublic static org.jdom.Element convertFontToXML(Font f)
Font into XML-Code.f - Font, which is going to be convertedpublic static Font convertXMLElementToFont(org.jdom.Element xmlElement)
XMLElement into Font.xmlElement - xmlElement, which is going to be convertedFontpublic static void logXML(org.jdom.Element element)
element - XML, which is going to be postedCopyright © 2012–2026 cismet GmbH. All rights reserved.