org.springframework.oxm.mime
Interface MimeUnmarshaller
- All Superinterfaces:
- Unmarshaller
- All Known Implementing Classes:
- Jaxb2Marshaller
public interface MimeUnmarshaller
- extends Unmarshaller
Subinterface of Marshaller
that can use MIME attachments to optimize storage of
binary data. Attachments can be added as MTOM, XOP, or SwA.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
- SOAP Message Transmission Optimization
Mechanism,
XML-binary Optimized Packaging
unmarshal
Object unmarshal(Source source,
MimeContainer mimeContainer)
throws XmlMappingException,
IOException
- Unmarshals the given provided
Source
into an object graph, reading binary attachments from a MimeContainer
.
- Parameters:
source
- the source to marshal frommimeContainer
- 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
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.