Interface MimeMarshaller

    • Method Detail

      • marshal

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