Uses of Class
jakarta.xml.soap.AttachmentPart
-
Uses of AttachmentPart in jakarta.xml.soap
Modifier and TypeMethodDescriptionabstract AttachmentPart
SOAPMessage.createAttachmentPart()
Creates a new emptyAttachmentPart
object.SOAPMessage.createAttachmentPart
(jakarta.activation.DataHandler dataHandler) Creates anAttachmentPart
object and populates it using the givenDataHandler
object.SOAPMessage.createAttachmentPart
(Object content, String contentType) Creates anAttachmentPart
object and populates it with the specified data of the specified content type.abstract AttachmentPart
SOAPMessage.getAttachment
(SOAPElement element) Returns anAttachmentPart
object that is associated with an attachment that is referenced by thisSOAPElement
ornull
if no such attachment exists.Modifier and TypeMethodDescriptionabstract Iterator
<AttachmentPart> SOAPMessage.getAttachments()
Retrieves all theAttachmentPart
objects that are part of thisSOAPMessage
object.abstract Iterator
<AttachmentPart> SOAPMessage.getAttachments
(MimeHeaders headers) Retrieves all theAttachmentPart
objects that have header entries that match the specified headers.Modifier and TypeMethodDescriptionabstract void
SOAPMessage.addAttachmentPart
(AttachmentPart attachmentPart) Adds the givenAttachmentPart
object to thisSOAPMessage
object.