XmlInput

An interface that allows custom serializers to special case being serialized to XML and retrieve the underlying XmlReader. This is used for example by CompactFragment to read arbitrary XML from the stream and store it inside the buffer (without attempting to use the serializer/decoder for it.

Properties

Link copied to clipboard
abstract val config: XmlConfig

The configuration used for serialization

Link copied to clipboard
abstract val input: XmlReader

The reader used. Can be used directly by serializers

Link copied to clipboard

The currently active serialization context

Functions

Link copied to clipboard
open fun delegateFormat(): XML

A delegate method to get access to a format with the same configuration

Link copied to clipboard
open fun getNamespaceURI(prefix: String): String?