public interface

MimeUnmarshaller

implements Unmarshaller
org.springframework.oxm.mime.MimeUnmarshaller
Known Indirect Subclasses

Class Overview

Subinterface of Unmarshaller that can use MIME attachments to optimize storage of binary data. Attachments can be added as MTOM, XOP, or SwA.

Summary

Public Methods
abstract Object unmarshal(Source source, MimeContainer mimeContainer)
Unmarshals the given provided Source into an object graph, reading binary attachments from a MimeContainer.
[Expand]
Inherited Methods
From interface org.springframework.oxm.Unmarshaller

Public Methods

public abstract Object unmarshal (Source source, MimeContainer mimeContainer)

Unmarshals the given provided Source into an object graph, reading binary attachments from a MimeContainer.

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