接口的使用
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中的方法 修饰符和类型 方法 说明 void
Jaxb2Marshaller. marshal(Object graph, Result result, MimeContainer mimeContainer)
Object
Jaxb2Marshaller. unmarshal(Source source, MimeContainer mimeContainer)
org.springframework.oxm.mime中MimeContainer的使用
参数类型为MimeContainer的org.springframework.oxm.mime中的方法 修饰符和类型 方法 说明 void
MimeMarshaller. marshal(Object graph, Result result, MimeContainer mimeContainer)
Marshals the object graph with the given root into the providedResult
, writing binary data to aMimeContainer
.Object
MimeUnmarshaller. unmarshal(Source source, MimeContainer mimeContainer)
Unmarshals the given providedSource
into an object graph, reading binary attachments from aMimeContainer
.