| org.springframework.oxm.mime.MimeContainer
MimeContainer | public interface MimeContainer (Code) | | Represents a container for MIME attachments. Concrete implementations might adapt a SOAPMesage, or an email message.
author: Arjen Poutsma See Also: XML-binary Optimized Packaging since: 1.0.0 |
addAttachment | void addAttachment(String contentId, DataHandler dataHandler)(Code) | | Adds the given data handler as an attachment to this container.
Parameters: contentId - the content id of the attachment Parameters: dataHandler - the data handler containing the data of the attachment |
convertToXopPackage | boolean convertToXopPackage()(Code) | | Turns this message into a XOP package.
true when the message is a XOP package See Also: XOP Packages |
getAttachment | DataHandler getAttachment(String contentId)(Code) | | Returns the attachment with the given content id, or null if not found.
Parameters: contentId - the content id the attachment, as a data handler |
|
|