encode To Writer
Write the object to the given writer
Parameters
value
The actual object
target
The
prefix
The prefix (if any) to use for the namespace
fun <T> encodeToWriter(target: XmlWriter , serializer: SerializationStrategy <T>, value: T, prefix: String ? = null)(source)
Transform onto an existing xml writer.
Parameters
target
The
value
The actual object
serializer
The serializer/saver to use to write
prefix
The prefix (if any) to use for the namespace
fun <T> encodeToWriter(target: XmlWriter , serializer: SerializationStrategy <T>, value: T, rootName: QName ?)(source)
Transform onto an existing xml writer.
Parameters
target
The
serializer
The serializer/saver to use to write
root Name
The QName to use for the root tag
value
The actual object