public interface

MimeMarshaller

implements Marshaller
org.springframework.oxm.mime.MimeMarshaller
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
abstract void marshal(Object graph, Result result, MimeContainer mimeContainer)
Marshals the object graph with the given root into the provided Result, writing binary data to a MimeContainer.
[Expand]
Inherited Methods
From interface org.springframework.oxm.Marshaller

Public Methods

public abstract void marshal (Object graph, Result result, MimeContainer mimeContainer)

Marshals the object graph with the given root into the provided Result, writing binary data to a MimeContainer.

Parameters
graph the root of the object graph to marshal
result the result to marshal to
mimeContainer the MIME container to write extracted binary content to
Throws
XmlMappingException if the given object cannot be marshalled to the result
IOException if an I/O exception occurs