Class XmlStreamWriter

java.lang.Object
com.aquima.interactions.foundation.xml.writer.AbstractXmlWriter
com.aquima.interactions.foundation.xml.writer.XmlStreamWriter
All Implemented Interfaces:
IXmlWriter

public class XmlStreamWriter extends AbstractXmlWriter
Writer to write UTF-8 xml objects to one or more streams.
Since:
7.4
Author:
Jon van Leuven
  • Constructor Details

    • XmlStreamWriter

      public XmlStreamWriter(OutputStream stream, boolean useIndentation)
      This construct an XML writer with a stream.
      Parameters:
      stream - The stream to write xml result to.
      useIndentation - true to use whitespace indentation for pretty printing.
    • XmlStreamWriter

      public XmlStreamWriter(OutputStream[] streams, boolean useIndentation)
      This construct an XML writer with multiple streams.
      Parameters:
      streams - The streams to write xml result to.
      useIndentation - true to use whitespace indentation for pretty printing.
  • Method Details