encodeToWriter
Write the object to the given writer
Parameters
target
The XmlWriter to append the object to
value
The actual object
prefix
The prefix (if any) to use for the namespace
Write the object to the given writer
Parameters
target
The XmlWriter to append the object to
value
The actual object
rootName
The QName to use for the root tag
fun <T> encodeToWriter(target: XmlWriter, serializer: SerializationStrategy<T>, value: T, prefix: String? = null)(source)
Write the object to the given writer
Parameters
target
The XmlWriter to append the object to
serializer
The serializer to use
value
The actual object
prefix
The prefix (if any) to use for the namespace
fun <T> encodeToWriter(target: XmlWriter, serializer: SerializationStrategy<T>, value: T, rootName: QName)(source)
Write the object to the given writer
Parameters
target
The XmlWriter to append the object to
serializer
The serializer to use
value
The actual object
rootName
The QName to use for the root tag