接口 MimeUnmarshaller
- 所有超级接口:
Unmarshaller
- 所有已知实现类:
Jaxb2Marshaller
public interface MimeUnmarshaller extends Unmarshaller
Subinterface ofUnmarshaller
that can use MIME attachments to optimize storage of binary data. Attachments can be added as MTOM, XOP, or SwA.- 从以下版本开始:
- 3.0
- 作者:
- Arjen Poutsma
- 另请参阅:
- SOAP Message Transmission Optimization Mechanism, XML-binary Optimized Packaging
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Object
unmarshal(Source source, MimeContainer mimeContainer)
Unmarshals the given providedSource
into an object graph, reading binary attachments from aMimeContainer
.从接口继承的方法 org.springframework.oxm.Unmarshaller
supports, unmarshal
方法详细资料
unmarshal
Object unmarshal(Source source, @Nullable MimeContainer mimeContainer) throws XmlMappingException, IOException
Unmarshals the given providedSource
into an object graph, reading binary attachments from aMimeContainer
.- 参数:
source
- the source to marshal frommimeContainer
- the MIME container to read extracted binary content from- 返回:
- the object graph
- 抛出:
XmlMappingException
- if the given source cannot be mapped to an objectIOException
- if an I/O Exception occurs