XmlStreaming

actual object XmlStreaming : IXmlStreaming

Deprecated

Don't use directly

Replace with

import nl.adaptivity.xmlutil.xmlStreaming
import nl.adaptivity.xmlutil.newWriter
import nl.adaptivity.xmlutil.newGenericWriter
xmlStreaming

This class is the entry point for creating XmlReader and XmlWriter instances. Some interfaces are common, others are limited to some architectures.

expect object XmlStreaming : IXmlStreaming

Deprecated

Don't use directly

Replace with

import nl.adaptivity.xmlutil.xmlStreaming
import nl.adaptivity.xmlutil.newWriter
import nl.adaptivity.xmlutil.newGenericWriter
xmlStreaming

This class is the entry point for creating XmlReader and XmlWriter instances. Some interfaces are common, others are limited to some architectures.

actual object XmlStreaming : IXmlStreaming

Deprecated

Don't use directly

Replace with

import nl.adaptivity.xmlutil.xmlStreaming
import nl.adaptivity.xmlutil.newWriter
import nl.adaptivity.xmlutil.newGenericWriter
xmlStreaming

Deprecated

Don't use directly

Replace with

import nl.adaptivity.xmlutil.xmlStreaming
import nl.adaptivity.xmlutil.newWriter
import nl.adaptivity.xmlutil.newGenericWriter
xmlStreaming

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Any> deSerialize(input: String): T
open override fun <T : Any> deSerialize(input: InputStream, type: Class<T>): T
open override fun <T : Any> deSerialize(input: Reader, type: Class<T>): T
open override fun <T : Any> deSerialize(input: Reader, kClass: KClass<T>): T
open override fun <T : Any> deSerialize(reader: Source, type: Class<T>): T
open override fun <T : Any> deSerialize(input: String, type: Class<T>): T
open override fun <T : Any> deSerialize(inputs: Iterable<String>, type: Class<T>): List<T>
inline fun <T : Any> deSerialize(input: String): T
fun <T : Any> deSerialize(input: InputStream, kClass: KClass<T>): T
fun <T : Any> deSerialize(reader: Source, kClass: KClass<T>): T
fun <T : Any> deSerialize(input: String, kClass: KClass<T>): T
fun <T : Any> deSerialize(inputs: Iterable<String>, kClass: KClass<T>): List<T>
Link copied to clipboard
open override fun <T : Any> deserializerFor(type: Class<T>): <Error class: unknown class>?
fun <T : Any> deserializerFor(klass: KClass<T>): <Error class: unknown class>?
Link copied to clipboard
actual open override fun newGenericReader(input: CharSequence): XmlReader
actual open override fun newGenericReader(reader: Reader): XmlReader
expect open override fun newGenericReader(input: CharSequence): XmlReader
expect open override fun newGenericReader(reader: Reader): XmlReader
actual open override fun newGenericReader(input: CharSequence): XmlReader
actual open override fun newGenericReader(reader: Reader): XmlReader
actual open fun newGenericReader(input: CharSequence): XmlReader
fun newGenericReader(input: String): <Error class: unknown class>
fun newGenericReader(inputStream: InputStream, encoding: String? = null): <Error class: unknown class>
Link copied to clipboard
actual fun newGenericWriter(output: Appendable, isRepairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): KtXmlWriter
expect fun newGenericWriter(output: Appendable, isRepairNamespaces: Boolean = false, xmlDeclMode: XmlDeclMode = XmlDeclMode.None): KtXmlWriter
actual fun newGenericWriter(output: Appendable, isRepairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): KtXmlWriter
Link copied to clipboard
fun IXmlStreaming.newGenericWriter(output: Appendable, isRepairNamespaces: Boolean = false, xmlDeclMode: XmlDeclMode = XmlDeclMode.None): KtXmlWriter
Link copied to clipboard
actual open override fun newReader(input: CharSequence): XmlReader
actual open override fun newReader(reader: Reader): XmlReader
actual open override fun newReader(source: Node): XmlReader
expect open override fun newReader(input: CharSequence): XmlReader
expect open override fun newReader(reader: Reader): XmlReader
expect open override fun newReader(source: Node): XmlReader
actual open override fun newReader(input: CharSequence): XmlReader
actual open override fun newReader(reader: Reader): XmlReader
actual open override fun newReader(source: Node): XmlReader
open override fun newReader(source: Source): <Error class: unknown class>
actual open fun newReader(input: CharSequence): XmlReader
open override fun newReader(input: String): <Error class: unknown class>
open override fun newReader(inputStream: InputStream, encoding: String): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
actual open override fun newWriter(): DomWriter
actual open override fun newWriter(dest: Node): DomWriter
fun newWriter(output: Appendable, repairNamespaces: Boolean, omitXmlDecl: Boolean): XmlWriter
actual fun newWriter(output: Appendable, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): XmlWriter
fun newWriter(writer: Writer, repairNamespaces: Boolean, omitXmlDecl: Boolean): XmlWriter
actual fun newWriter(writer: Writer, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): XmlWriter
expect open override fun newWriter(): DomWriter
expect open override fun newWriter(dest: Node): DomWriter
expect fun newWriter(output: Appendable, repairNamespaces: Boolean = false, xmlDeclMode: XmlDeclMode = XmlDeclMode.None): XmlWriter
expect fun newWriter(writer: Writer, repairNamespaces: Boolean = false, xmlDeclMode: XmlDeclMode = XmlDeclMode.None): XmlWriter
actual open override fun newWriter(): DomWriter
actual open override fun newWriter(dest: Node): DomWriter
fun newWriter(output: Appendable, repairNamespaces: Boolean, omitXmlDecl: Boolean): XmlWriter
actual fun newWriter(output: Appendable, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): XmlWriter
fun newWriter(writer: Writer, repairNamespaces: Boolean, omitXmlDecl: Boolean): XmlWriter
actual fun newWriter(writer: Writer, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): XmlWriter
actual open fun newWriter(): DomWriter
open override fun newWriter(result: Result, repairNamespaces: Boolean): <Error class: unknown class>
fun newWriter(outputStream: OutputStream, encoding: String, repairNamespaces: Boolean): <Error class: unknown class>
override fun newWriter(writer: Writer, repairNamespaces: Boolean = false, xmlDeclMode: <Error class: unknown class> = XmlDeclMode.None): <Error class: unknown class>
open fun newWriter(outputStream: OutputStream, encoding: String): <Error class: unknown class>
fun newWriter(writer: Writer, repairNamespaces: Boolean): <Error class: unknown class>
fun newWriter(writer: Writer, repairNamespaces: Boolean): <Error class: unknown class>
Link copied to clipboard
actual fun IXmlStreaming.newWriter(output: Appendable, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): XmlWriter
actual fun IXmlStreaming.newWriter(writer: Writer, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): XmlWriter
expect fun IXmlStreaming.newWriter(output: Appendable, repairNamespaces: Boolean = false, xmlDeclMode: XmlDeclMode = XmlDeclMode.None): XmlWriter
expect fun IXmlStreaming.newWriter(writer: Writer, repairNamespaces: Boolean = false, xmlDeclMode: XmlDeclMode = XmlDeclMode.None): XmlWriter
actual fun IXmlStreaming.newWriter(output: Appendable, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): XmlWriter
actual fun IXmlStreaming.newWriter(writer: Writer, repairNamespaces: Boolean, xmlDeclMode: XmlDeclMode): XmlWriter
Link copied to clipboard
fun <T : Any> serialize(target: <Error class: unknown class>, value: T)
fun <T : Any> serialize(kClass: KClass<T>, target: <Error class: unknown class>, value: T)
Link copied to clipboard
inline fun <T : Any> serializeAs(target: <Error class: unknown class>, value: T)
Link copied to clipboard
open override fun <T : Any> serializerFor(type: Class<T>): <Error class: unknown class><T>?
fun <T : Any> serializerFor(klass: KClass<T>): <Error class: unknown class><T>?
Link copied to clipboard
actual open override fun setFactory(factory: XmlStreamingFactory?)
expect open override fun setFactory(factory: XmlStreamingFactory?)
actual open override fun setFactory(factory: XmlStreamingFactory?)
actual open fun setFactory(factory: XmlStreamingFactory?)
Link copied to clipboard
open override fun toCharArray(content: Source): CharArray
Link copied to clipboard
open override fun toString(source: Source): String