abstract fun marshal(graph: Any, result: Result, @Nullable mimeContainer: MimeContainer): Unit
Marshals the object graph with the given root into the provided Result, writing binary data to a MimeContainer.
graph
- the root of the object graph to marshal
result
- the result to marshal to
mimeContainer
- the MIME container to write extracted binary content to
XmlMappingException
- if the given object cannot be marshalled to the result