public interface MimeUnmarshaller extends Unmarshaller
Unmarshaller
that can use MIME attachments
to optimize storage of binary data. Attachments can be added as MTOM, XOP, or SwA.Modifier and Type | Method and Description |
---|---|
Object |
unmarshal(Source source,
MimeContainer mimeContainer)
Unmarshals the given provided
Source into an object graph,
reading binary attachments from a MimeContainer . |
supports, unmarshal
Object unmarshal(Source source, MimeContainer mimeContainer) throws XmlMappingException, IOException
Source
into an object graph,
reading binary attachments from a MimeContainer
.source
- the source to marshal frommimeContainer
- the MIME container to read extracted binary content fromXmlMappingException
- if the given source cannot be mapped to an objectIOException
- if an I/O Exception occurs