org.apache.axiom.om
Interface OMAttachmentAccessor

All Known Subinterfaces:
OMXMLStreamReader, XOPBuilder
All Known Implementing Classes:
Attachments, DOMStAXWrapper, MTOMStAXSOAPModelBuilder, OMStAXWrapper, OMXMLStreamReaderValidator, XOPAwareStAXOMBuilder

public interface OMAttachmentAccessor

This interface is applied to objects that can access attachments.


Method Summary
 javax.activation.DataHandler getDataHandler(String blobcid)
           
 

Method Detail

getDataHandler

javax.activation.DataHandler getDataHandler(String blobcid)
Parameters:
blobContentID - (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 © 2004-2011 The Apache Software Foundation. All Rights Reserved.