org.apache.axiom.om

## Interface OMAttachmentAccessor

- All Known Subinterfaces:
    OMXMLStreamReader, OMXMLStreamReaderEx, XOPBuilder
  All Known Implementing Classes:
    Attachments, MTOMStAXSOAPModelBuilder, OMXMLStreamReaderValidator, XOPAwareStAXOMBuilder

      public interface OMAttachmentAccessor

  This interface is applied to objects that can access attachments.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.activation.DataHandler` | `getDataHandler(String blobcid)`

- - ### Method Detail

    - #### getDataHandler

          javax.activation.DataHandler getDataHandler(String blobcid)

      Parameters:
        `blobcid` - (without the surrounding angle brackets and "cid:" prefix)
      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

Copyright © The Apache Software Foundation. All Rights Reserved.