abstract fun unmarshal(source: Source, @Nullable mimeContainer: MimeContainer): Any
Unmarshals the given provided Source into an object graph, reading binary attachments from a MimeContainer.
source
- the source to marshal from
mimeContainer
- the MIME container to read extracted binary content from
XmlMappingException
- if the given source cannot be mapped to an object
IOException
- if an I/O Exception occurs
Return
the object graph