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(java.lang.Object graph,
javax.xml.transform.Result result,
MimeContainer mimeContainer)
Marshals the object graph with the given root into the provided <code>Result</code>,
writing binary data to a
MimeContainer . |
marshal, supports
void marshal(java.lang.Object graph, javax.xml.transform.Result result, MimeContainer mimeContainer) throws XmlMappingException, java.io.IOException
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 resultjava.io.IOException
- if an I/O exception occurs