public final class XmlWriter
extends java.lang.Object
Constructor and Description |
---|
XmlWriter() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String name,
boolean value)
Helper method
|
void |
addAttribute(java.lang.String name,
java.lang.Double value) |
void |
addAttribute(java.lang.String name,
int value)
Helper method
|
void |
addAttribute(java.lang.String name,
java.lang.String value)
Helper method
|
void |
endElement() |
java.lang.String |
getText() |
void |
startElement(java.lang.String elementName) |
void |
startElement(java.lang.String elementName,
java.lang.String namespace) |
void |
writeColorDescriptor(ColorDescriptor value) |
void |
writeDimension(java.awt.Dimension dimension,
java.lang.String elementName) |
void |
writeElement(Element element) |
void |
writeFontDescriptor(FontDescriptor value) |
void |
writeInsets(java.awt.Insets value) |
void |
writeStringDescriptor(StringDescriptor descriptor,
java.lang.String valueAttr,
java.lang.String bundleAttr,
java.lang.String keyAttr) |
public java.lang.String getText()
public void writeDimension(java.awt.Dimension dimension, java.lang.String elementName)
public void startElement(java.lang.String elementName)
public void startElement(java.lang.String elementName, java.lang.String namespace)
public void endElement()
public void addAttribute(java.lang.String name, java.lang.String value)
public void addAttribute(java.lang.String name, int value)
public void addAttribute(java.lang.String name, boolean value)
public void addAttribute(java.lang.String name, java.lang.Double value)
public void writeElement(Element element)
public void writeStringDescriptor(StringDescriptor descriptor, java.lang.String valueAttr, java.lang.String bundleAttr, java.lang.String keyAttr)
public void writeColorDescriptor(ColorDescriptor value)
public void writeFontDescriptor(FontDescriptor value)
public void writeInsets(java.awt.Insets value)