Package org.apache.axiom.om

## Interface OMAttachmentAccessor

- All Known Implementing Classes:
    `Attachments`

      public interface OMAttachmentAccessor

  Interface to look up MIME parts.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `DataHandler` | `getDataHandler​(String contentID)` | Get the `DataHandler` for the MIME part identified by a given content ID.

- - ### Method Detail

    - #### getDataHandler

          DataHandler getDataHandler​(String contentID)

      Get the `DataHandler` for the MIME part identified by a given content ID.
      Parameters:
        `contentID` - the raw content ID (without the surrounding angle brackets and `cid:` prefix) of the MIME part
      Returns:
        the `DataHandler` of the MIME part referred by the content ID or `null` if the MIME part referred by the content ID does not exist