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 |
---|---|
java.lang.Object |
unmarshal(javax.xml.transform.Source source,
MimeContainer mimeContainer)
Unmarshals the given provided
Source into an object graph,
reading binary attachments from a MimeContainer . |
supports, unmarshal
java.lang.Object unmarshal(javax.xml.transform.Source source, @Nullable MimeContainer mimeContainer) throws XmlMappingException, java.io.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 objectjava.io.IOException
- if an I/O Exception occurs