## Uses of Interface
org.apache.cxf.message.Attachment

- Packages that use Attachment
  Package | Description
  --- | ---
  org.apache.cxf.attachment |
  org.apache.cxf.databinding |
  org.apache.cxf.message |

- - ### Uses of Attachment in org.apache.cxf.attachment

    Classes in org.apache.cxf.attachment that implement Attachment
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AttachmentImpl`

    Methods in org.apache.cxf.attachment that return Attachment
    Modifier and Type | Method and Description
    --- | ---
    `static Attachment` | AttachmentUtil.`createAttachment(InputStream stream, javax.mail.internet.InternetHeaders headers)`
    `static Attachment` | AttachmentUtil.`createMtomAttachment(boolean isXop, String mimeType, String elementNS, byte[] data, int offset, int length, int threshold)`
    `static Attachment` | AttachmentUtil.`createMtomAttachmentFromDH(boolean isXop, DataHandler handler, String elementNS, int threshold)`

    Methods in org.apache.cxf.attachment that return types with arguments of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `List<Attachment>` | LazyAttachmentCollection.`getLoadedAttachments()`
    `Iterator<Attachment>` | LazyAttachmentCollection.`iterator()`

    Methods in org.apache.cxf.attachment with parameters of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | LazyAttachmentCollection.`add(Attachment arg0)`
    `static String` | AttachmentUtil.`getAttachmentPartHeader(Attachment att)`

    Method parameters in org.apache.cxf.attachment with type arguments of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | LazyAttachmentCollection.`addAll(Collection<? extends Attachment> arg0)`
    `static DataSource` | AttachmentUtil.`getAttachmentDataSource(String contentId, Collection<Attachment> atts)`
    `static Map<String,DataHandler>` | AttachmentUtil.`getDHMap(Collection<Attachment> attachments)`

    Constructor parameters in org.apache.cxf.attachment with type arguments of type Attachment
    Constructor and Description
    `LazyDataSource(String id, Collection<Attachment> attachments)`

  - ### Uses of Attachment in org.apache.cxf.databinding

    Method parameters in org.apache.cxf.databinding with type arguments of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `void` | BaseDataWriter.`setAttachments(Collection<Attachment> attachments)` Attach a collection of attachments to this writer.
    `void` | BaseDataReader.`setAttachments(Collection<Attachment> attachments)` Attach a collection of attachments to a binding.

  - ### Uses of Attachment in org.apache.cxf.message

    Methods in org.apache.cxf.message that return types with arguments of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Attachment>` | MessageImpl.`getAttachments()`
    `Collection<Attachment>` | Message.`getAttachments()` Retrieve any binary attachments associated with the message.
    `Collection<Attachment>` | AbstractWrappedMessage.`getAttachments()`

    Method parameters in org.apache.cxf.message with type arguments of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `void` | MessageImpl.`setAttachments(Collection<Attachment> attachments)`
    `void` | Message.`setAttachments(Collection<Attachment> attachments)`
    `void` | AbstractWrappedMessage.`setAttachments(Collection<Attachment> attachments)`

Apache CXF