Class XMLWriter
- java.lang.Object
-
- com.inductiveautomation.ignition.common.xmlserialization.serialization.XMLWriter
-
- All Implemented Interfaces:
SerializationWriter
public class XMLWriter extends java.lang.Object implements SerializationWriter
-
-
Constructor Summary
Constructors Constructor Description XMLWriter(java.io.Writer out, java.lang.String encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteElement(XMLSerializationContext context, Element elm)Called once with the base element of the XML tree to write it to the underlying stream.protected voidwriteElementName(Element elm)voidwriteSubElement(XMLSerializationContext context, Element elm)
-
-
-
Method Detail
-
writeElement
public void writeElement(XMLSerializationContext context, Element elm) throws java.io.IOException
Description copied from interface:SerializationWriterCalled once with the base element of the XML tree to write it to the underlying stream.- Specified by:
writeElementin interfaceSerializationWriter- Throws:
java.io.IOException
-
writeSubElement
public void writeSubElement(XMLSerializationContext context, Element elm) throws java.io.IOException
- Throws:
java.io.IOException
-
writeElementName
protected void writeElementName(Element elm) throws java.io.IOException
- Throws:
java.io.IOException
-
-