org.springframework.oxm.mime.MimeContainer |
Represents a container for MIME attachments Concrete implementations might adapt a SOAPMessage or an email message.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add the given data handler as an attachment to this container.
| |||||||||||
Turn this message into a XOP package.
| |||||||||||
Return the attachment with the given content id, or
null if not found. | |||||||||||
Indicate whether this container is a XOP package.
|
Add the given data handler as an attachment to this container.
contentId | the content id of the attachment |
---|---|
dataHandler | the data handler containing the data of the attachment |
Turn this message into a XOP package.
true
when the message actually is a XOP packageReturn the attachment with the given content id, or null
if not found.
contentId | the content id |
---|
Indicate whether this container is a XOP package.
true
when the constraints specified in
Identifying XOP Documents
are met