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
Result ,
writing binary data to a MimeContainer . |
marshal, supports
void marshal(java.lang.Object graph, javax.xml.transform.Result result, @Nullable MimeContainer mimeContainer) throws XmlMappingException, java.io.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 resultjava.io.IOException
- if an I/O exception occurs