Package org.apache.axiom.util.stax.xop
Interface MimePartProvider
-
- All Known Implementing Classes:
AttachmentsMimePartProvider
,XOPEncodingStreamReader
,XOPEncodingStreamWrapper
,XOPEncodingStreamWriter
public interface MimePartProvider
Interface used byXOPDecodingStreamReader
to load MIME parts referenced byxop:Include
elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataHandler
getDataHandler(String contentID)
Get theDataHandler
for the MIME part identified by a given content ID.
-
-
-
Method Detail
-
getDataHandler
DataHandler getDataHandler(String contentID) throws IOException
Get theDataHandler
for the MIME part identified by a given content ID.- Parameters:
contentID
- a content ID referenced in anxop:Include
element- Returns:
- the
DataHandler
for the MIME part identified by the content ID; may not benull
- Throws:
IllegalArgumentException
- if the MIME part was not foundIOException
- if an error occurred while loading the part
-
-