## Uses of Class
javax.xml.soap.AttachmentPart

Packages that use AttachmentPart
javax.xml.soap: Provides the API for creating and building SOAP messages.

### Uses of AttachmentPart in javax.xml.soap

Methods in javax.xml.soap that return AttachmentPart
`abstract AttachmentPart` SOAPMessage.`createAttachmentPart()` Creates a new empty `AttachmentPart` object.
`AttachmentPart` SOAPMessage.`createAttachmentPart(Object content, String contentType)` Creates an `AttachmentPart` object and populates it with the specified data of the specified content type.
`AttachmentPart` SOAPMessage.`createAttachmentPart(DataHandler dataHandler)` Creates an `AttachmentPart` object and populates it using the given `DataHandler` object.
`abstract AttachmentPart` SOAPMessage.`getAttachment(SOAPElement element)` Returns an `AttachmentPart` object that is associated with an attachment that is referenced by this `SOAPElement` or `null` if no such attachment exists.

Methods in javax.xml.soap with parameters of type AttachmentPart
`abstract void` SOAPMessage.`addAttachmentPart(AttachmentPart AttachmentPart)` Adds the given `AttachmentPart` object to this `SOAPMessage` object.