XmlStreamingJavaCommon

abstract class XmlStreamingJavaCommon

Common base for XmlStreaming that provides common additional methods available on jvm platforms that work with Java library types such as OutputStream, MPWriter, Reader, InputStream, etc..

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
inline fun <T : Any> deSerialize(input: String): T
abstract fun <T : Any> deSerialize(input: InputStream, type: Class<T>): T
fun <T : Any> deSerialize(input: InputStream, kClass: KClass<T>): T
abstract fun <T : Any> deSerialize(input: Reader, type: Class<T>): T
abstract fun <T : Any> deSerialize(input: Reader, kClass: KClass<T>): T
abstract fun <T : Any> deSerialize(reader: Source, type: Class<T>): T
fun <T : Any> deSerialize(reader: Source, kClass: KClass<T>): T
abstract fun <T : Any> deSerialize(input: String, type: Class<T>): T
fun <T : Any> deSerialize(input: String, kClass: KClass<T>): T
abstract fun <T : Any> deSerialize(inputs: Iterable<String>, type: Class<T>): List<T>
fun <T : Any> deSerialize(inputs: Iterable<String>, kClass: KClass<T>): List<T>
Link copied to clipboard
abstract 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
abstract fun newReader(source: Source): <Error class: unknown class>
abstract fun newReader(input: String): <Error class: unknown class>
abstract fun newReader(inputStream: InputStream, encoding: String): <Error class: unknown class>
Link copied to clipboard
fun newWriter(writer: Writer): <Error class: unknown class>
fun newWriter(result: Result): <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>
abstract fun newWriter(result: Result, repairNamespaces: Boolean = false): <Error class: unknown class>
fun newWriter(writer: Writer, repairNamespaces: Boolean): <Error class: unknown class>
fun newWriter(writer: Writer, repairNamespaces: Boolean, omitXmlDecl: Boolean): <Error class: unknown class>
fun newWriter(output: Appendable, repairNamespaces: Boolean, omitXmlDecl: Boolean): <Error class: unknown class>
fun newWriter(writer: Writer, repairNamespaces: Boolean, omitXmlDecl: Boolean): <Error class: unknown class>
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
abstract 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
abstract fun toCharArray(content: Source): CharArray
Link copied to clipboard
abstract fun toString(source: Source): String