Class AttachmentUnmarshaller

java.lang.Object
jakarta.xml.bind.attachment.AttachmentUnmarshaller

public abstract class AttachmentUnmarshaller extends Object

Enables Jakarta XML Binding unmarshalling of a root document containing optimized binary data formats.

This API enables an efficient cooperative processing of optimized binary data formats between a Jakarta XML Binding implementation and MIME-based package processor (MTOM/XOP and WS-I AP 1.0). Jakarta XML Binding unmarshals the body of a package, delegating the understanding of the packaging format being used to a MIME-based package processor that implements this abstract class.

This abstract class identifies if a package requires XOP processing, isXOPPackage() and provides retrieval of binary content stored as attachments by content-id.

Identifying the content-id, cid, to pass to getAttachment*(String cid)

Since:
1.6, JAXB 2.0
See Also: