クラスの使用
jakarta.xml.soap.AttachmentPart
AttachmentPart を使用するパッケージ パッケージ 説明 jakarta.xml.soap SOAP メッセージを作成および構築するための API を提供します。jakarta.xml.soap 内の AttachmentPart 使用
AttachmentPart を返す jakarta.xml.soap のメソッド 修飾子と型 メソッド 説明 abstract AttachmentPartSOAPMessage. createAttachmentPart()新しい空のAttachmentPartオブジェクトを作成します。AttachmentPartSOAPMessage. createAttachmentPart(DataHandler dataHandler)AttachmentPartオブジェクトを作成し、指定されたDataHandlerオブジェクトを使用してデータを設定します。AttachmentPartSOAPMessage. createAttachmentPart(ObjectSE content, StringSE contentType)AttachmentPartオブジェクトを作成し、指定されたコンテンツ型の指定されたデータを入力します。abstract AttachmentPartSOAPMessage. getAttachment(SOAPElement element)このSOAPElementまたはnullによって参照される添付ファイルに関連付けられているAttachmentPartオブジェクトを返します(そのような添付ファイルが存在しない場合)。型 AttachmentPart の引数を持つ型を返す jakarta.xml.soap のメソッド 修飾子と型 メソッド 説明 abstract IteratorSE<AttachmentPart>SOAPMessage. getAttachments()このSOAPMessageオブジェクトの一部であるすべてのAttachmentPartオブジェクトを取得します。abstract IteratorSE<AttachmentPart>SOAPMessage. getAttachments(MimeHeaders headers)指定されたヘッダーと一致するヘッダーエントリを持つすべてのAttachmentPartオブジェクトを取得します。型 AttachmentPart のパラメーターを持つ jakarta.xml.soap のメソッド 修飾子と型 メソッド 説明 abstract voidSOAPMessage. addAttachmentPart(AttachmentPart attachmentPart)指定されたAttachmentPartオブジェクトをこのSOAPMessageオブジェクトに追加します。