Package org.springframework.oxm.mime
Interface MimeUnmarshaller
- All Superinterfaces:
- Unmarshaller
- All Known Implementing Classes:
- Jaxb2Marshaller
Subinterface of 
Unmarshaller that can use MIME attachments
 to optimize storage of binary data. Attachments can be added as MTOM, XOP, or SwA.- Since:
- 3.0
- Author:
- Arjen Poutsma
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionunmarshal(Source source, @Nullable MimeContainer mimeContainer) Unmarshals the given providedSourceinto an object graph, reading binary attachments from aMimeContainer.Methods inherited from interface org.springframework.oxm.Unmarshallersupports, unmarshal
- 
Method Details- 
unmarshalObject unmarshal(Source source, @Nullable MimeContainer mimeContainer) throws XmlMappingException, IOException Unmarshals the given providedSourceinto an object graph, reading binary attachments from aMimeContainer.- Parameters:
- source- the source to marshal from
- mimeContainer- the MIME container to read extracted binary content from
- Returns:
- the object graph
- Throws:
- XmlMappingException- if the given source cannot be mapped to an object
- IOException- if an I/O Exception occurs
 
 
-