# 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.

See: Description

- 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.

## Package javax.xml.bind.attachment Description

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

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.