javax.xml.bind.attachment (Java SE 10 & JDK 10 )
Keywords: javax.xml.bind.attachment package

Module java.xml.bind

# Package javax.xml.bind.attachment

This package is implemented by a MIME-based package processor that enables the interpretation and creation of optimized binary data within an MIME-based package format.

Soap MTOM[1], XOP([2][3]) and WS-I AP[4] standardize approaches to optimized transmission of binary datatypes as an attachment. To optimally support these standards within a message passing environment, this package enables an integrated solution between a MIME-based package processor and JAXB unmarshall/marshal processes.

## Package Specification

- JAXB Specification

## Related Standards

- [1]SOAP Message Transmission Optimization Mechanism
- [2]XML-binary Optimized Packaging
- [3]WS-I Attachments Profile Version 1.0.
- [4]Describing Media Content of Binary Data in XML

Since:
  JAXB 2.0

- Class Summary
  Class | Description
  --- | ---
  AttachmentMarshaller | Enable JAXB marshalling to optimize storage of binary data.
  AttachmentUnmarshaller | Enables JAXB unmarshalling of a root document containing optimized binary data formats.