StAXWriter
class StAXWriter(val delegate: XMLStreamWriter, val xmlDeclMode: XmlDeclMode = XmlDeclMode.None, val autoCloseEmpty: Boolean = true) : PlatformXmlWriterBase, XmlWriter(source)
An implementation of XmlWriter that uses an underlying stax writer. Created by pdvrieze on 16/11/15.
Constructors
Link copied to clipboard
constructor(outputStream: OutputStream, encoding: String, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode = XmlDeclMode.None)
constructor(delegate: XMLStreamWriter, xmlDeclMode: XmlDeclMode = XmlDeclMode.None, autoCloseEmpty: Boolean = true)
Properties
Link copied to clipboard
Determines whether empty tags are coalesced into self-closing tags.
Link copied to clipboard
The XMLStreamWriter that is wrapped
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This determines how automatic xml declarations are written. Note that explicit calls to startDocument ignore this.