接口的使用
org.springframework.oxm.mime.MimeContainer
使用MimeContainer的程序包 程序包 说明 org.springframework.oxm.jaxb Package providing integration of JAXB with Spring's O/X Mapping support.org.springframework.oxm.mime Contains (un)marshallers optimized to store binary data in MIME attachments.org.springframework.oxm.jaxb中MimeContainer的使用
参数类型为MimeContainer的org.springframework.oxm.jaxb中的方法 修饰符和类型 方法 说明 voidJaxb2Marshaller. marshal(Object graph, Result result, MimeContainer mimeContainer)ObjectJaxb2Marshaller. unmarshal(Source source, MimeContainer mimeContainer)org.springframework.oxm.mime中MimeContainer的使用
参数类型为MimeContainer的org.springframework.oxm.mime中的方法 修饰符和类型 方法 说明 voidMimeMarshaller. marshal(Object graph, Result result, MimeContainer mimeContainer)Marshals the object graph with the given root into the providedResult, writing binary data to aMimeContainer.ObjectMimeUnmarshaller. unmarshal(Source source, MimeContainer mimeContainer)Unmarshals the given providedSourceinto an object graph, reading binary attachments from aMimeContainer.