public class XMLWriter extends java.lang.Object implements SerializationWriter
Constructor and Description |
---|
XMLWriter(java.io.Writer out,
java.lang.String encoding) |
Modifier and Type | Method and Description |
---|---|
void |
writeElement(XMLSerializationContext context,
Element elm)
Called once with the base element of the XML tree to write it to the underlying stream.
|
protected void |
writeElementName(Element elm) |
void |
writeSubElement(XMLSerializationContext context,
Element elm) |
public void writeElement(XMLSerializationContext context, Element elm) throws java.io.IOException
SerializationWriter
writeElement
in interface SerializationWriter
java.io.IOException
public void writeSubElement(XMLSerializationContext context, Element elm) throws java.io.IOException
java.io.IOException
protected void writeElementName(Element elm) throws java.io.IOException
java.io.IOException