public interface MimeMarshaller extends Marshaller
Marshaller 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 |
|---|---|
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. |
marshal, supportsvoid marshal(Object graph, Result result, @Nullable MimeContainer mimeContainer) throws XmlMappingException, IOException
Result,
writing binary data to a MimeContainer.graph - the root of the object graph to marshalresult - the result to marshal tomimeContainer - the MIME container to write extracted binary content toXmlMappingException - if the given object cannot be marshalled to the resultIOException - if an I/O exception occurs