XmlTextWriter

class XmlTextWriter(output: StringBuilder) : XmlWriter

Functions

close
Link copied to clipboard
open override fun close()
lookupPrefix
Link copied to clipboard
open override fun lookupPrefix(ns: String): String?
writeAttributes
Link copied to clipboard
open fun writeAttributes(reader: XmlReader, writeDefaultAttributes: Boolean)
writeAttributeString
Link copied to clipboard
fun writeAttributeString(name: String, value: String)
fun writeAttributeString(localName: String, namespaceUri: String, value: String)
fun writeAttributeString(prefix: String?, localName: String, namespaceUri: String, value: String)
writeCData
Link copied to clipboard
open override fun writeCData(text: String)
writeComment
Link copied to clipboard
open override fun writeComment(comment: String)
writeDoctype
Link copied to clipboard
open override fun writeDoctype(name: String, publicId: String?, systemId: String?, internalSubset: String?)
writeElementString
Link copied to clipboard
fun writeElementString(name: String, value: String)
fun writeElementString(localName: String, namespaceUri: String, value: String)
fun writeElementString(prefix: String?, localName: String, namespaceUri: String, value: String)
writeEndAttribute
Link copied to clipboard
open override fun writeEndAttribute()
writeEndDocument
Link copied to clipboard
open override fun writeEndDocument()
writeEndElement
Link copied to clipboard
open override fun writeEndElement()
writeEntityRef
Link copied to clipboard
open override fun writeEntityRef(name: String)
writeFullEndElement
Link copied to clipboard
open override fun writeFullEndElement()
writeProcessingInstruction
Link copied to clipboard
open override fun writeProcessingInstruction(name: String, value: String?)
writeQualifiedName
Link copied to clipboard
open fun writeQualifiedName(localName: String, namespaceUri: String)
writeRaw
Link copied to clipboard
open override fun writeRaw(text: String)
writeStartAttribute
Link copied to clipboard
fun writeStartAttribute(name: String)
open override fun writeStartAttribute(prefix: String?, localName: String, namespaceUri: String)
writeStartDocument
Link copied to clipboard
open override fun writeStartDocument(encoding: String?, standalone: Boolean?)
writeStartElement
Link copied to clipboard
fun writeStartElement(name: String)
fun writeStartElement(localName: String, namespaceUri: String)
open override fun writeStartElement(prefix: String?, localName: String, namespaceUri: String)
writeString
Link copied to clipboard
open override fun writeString(text: String)
writeWhitespace
Link copied to clipboard
open override fun writeWhitespace(text: String)

Properties

indent
Link copied to clipboard
var indent: Boolean = false
namespaces
Link copied to clipboard
var namespaces: Boolean = true
newLineChars
Link copied to clipboard
var newLineChars: String
nsmgr
Link copied to clipboard
val nsmgr: XmlNamespaceManager
quoteChar
Link copied to clipboard
var quoteChar: Char = '"'
writeState
Link copied to clipboard
open override val writeState: WriteState
xmlLang
Link copied to clipboard
open val xmlLang: String? = null
xmlSpace
Link copied to clipboard
open val xmlSpace: XmlSpace