Uses of Class
javax.xml.soap.AttachmentPart
-
-
Uses of AttachmentPart in javax.xml.soap
Methods in javax.xml.soap that return AttachmentPart Modifier and Type Method Description abstract AttachmentPartSOAPMessage. createAttachmentPart()Creates a new emptyAttachmentPartobject.AttachmentPartSOAPMessage. createAttachmentPart(Object content, String contentType)Creates anAttachmentPartobject and populates it with the specified data of the specified content type.AttachmentPartSOAPMessage. createAttachmentPart(DataHandler dataHandler)Creates anAttachmentPartobject and populates it using the givenDataHandlerobject.abstract AttachmentPartSOAPMessage. getAttachment(SOAPElement element)Returns anAttachmentPartobject that is associated with an attachment that is referenced by thisSOAPElementornullif no such attachment exists.Methods in javax.xml.soap that return types with arguments of type AttachmentPart Modifier and Type Method Description abstract Iterator<AttachmentPart>SOAPMessage. getAttachments()Retrieves all theAttachmentPartobjects that are part of thisSOAPMessageobject.abstract Iterator<AttachmentPart>SOAPMessage. getAttachments(MimeHeaders headers)Retrieves all theAttachmentPartobjects that have header entries that match the specified headers.Methods in javax.xml.soap with parameters of type AttachmentPart Modifier and Type Method Description abstract voidSOAPMessage. addAttachmentPart(AttachmentPart attachmentPart)Adds the givenAttachmentPartobject to thisSOAPMessageobject.
-