GenericFactory

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun newReader(inputStream: InputStream): <Error class: unknown class>

Version of newReader that autodetects the encoding. It first looks for UTF16/UTF32. Then it looks at the declared encoding in the attribute in 8-bit ascii mode. If not it will use the byte order mark to determine UTF16LE/BE or UTF8.

open override fun newReader(reader: Reader): <Error class: unknown class>
open override fun newReader(inputStream: InputStream, encoding: String): <Error class: unknown class>
open fun newReader(source: Source): <Error class: unknown class>
open fun newReader(input: CharSequence): <Error class: unknown class>
open fun newReader(input: String): <Error class: unknown class>
Link copied to clipboard
open override fun newWriter(writer: Writer, repairNamespaces: Boolean, xmlDeclMode: <Error class: unknown class>): <Error class: unknown class>
open override fun newWriter(outputStream: OutputStream, encoding: String, repairNamespaces: Boolean, xmlDeclMode: <Error class: unknown class>): <Error class: unknown class>
open fun newWriter(output: Appendable, repairNamespaces: Boolean = false, xmlDeclMode: <Error class: unknown class> = XmlDeclMode.None): <Error class: unknown class>
open fun newWriter(output: Appendable, repairNamespaces: Boolean = false, omitXmlDecl: Boolean): <Error class: unknown class>
open fun newWriter(result: Result, repairNamespaces: Boolean = false, xmlDeclMode: <Error class: unknown class> = XmlDeclMode.None): <Error class: unknown class>
open fun newWriter(result: Result, repairNamespaces: Boolean = false, omitXmlDecl: Boolean): <Error class: unknown class>