org.springframework.oxm.mime

Interface MimeUnmarshaller

    • Method Detail

      • unmarshal

        java.lang.Object unmarshal(javax.xml.transform.Source source,
                                   @Nullable
                                   MimeContainer mimeContainer)
                            throws XmlMappingException,
                                   java.io.IOException
        Unmarshals the given provided Source into an object graph, reading binary attachments from a MimeContainer.
        Parameters:
        source - the source to marshal from
        mimeContainer - the MIME container to read extracted binary content from
        Returns:
        the object graph
        Throws:
        XmlMappingException - if the given source cannot be mapped to an object
        java.io.IOException - if an I/O Exception occurs