JavaTM Platform
Standard Ed. 6

クラス
javax.activation.DataHandler の使用

DataHandler を使用しているパッケージ
javax.activation   
javax.xml.bind.attachment このパッケージは、MIME ベースパッケージ形式内の最適化されたバイナリデータの解釈と作成を可能にする、MIME ベースパッケージプロセッサによって実装されます。 
javax.xml.soap SOAP メッセージの作成と構築を実行する API を提供します。 
 

javax.activation での DataHandler の使用
 

DataHandler 型のパラメータを持つ javax.activation のメソッド
 Object CommandInfo.getCommandObject(DataHandler dh, ClassLoader loader)
          インスタンス化された JavaBean コンポーネントを返します。
 void CommandObject.setCommandContext(String verb, DataHandler dh)
          実行要求が出されている動詞を持つコマンドと、処理するデータを示す DataHandler を初期化します。
 

javax.xml.bind.attachment での DataHandler の使用
 

DataHandler を返す javax.xml.bind.attachment のメソッド
abstract  DataHandler AttachmentUnmarshaller.getAttachmentAsDataHandler(String cid)
          コンテンツ ID、cid に基づいて MIME コンテンツを検索し、DataHandler として返します。
 

DataHandler 型のパラメータを持つ javax.xml.bind.attachment のメソッド
abstract  String AttachmentMarshaller.addMtomAttachment(DataHandler data, String elementNamespace, String elementLocalName)
          MIME コンテンツ data を、添付として最適化されたバイナリストレージにすることを考慮します。
abstract  String AttachmentMarshaller.addSwaRefAttachment(DataHandler data)
          添付として MIME data を追加し、添付のコンテンツ ID、cid を返します。
 

javax.xml.soap での DataHandler の使用
 

DataHandler を返す javax.xml.soap のメソッド
abstract  DataHandler AttachmentPart.getDataHandler()
          この AttachmentPart オブジェクトの DataHandler オブジェクトを取得します。
 

DataHandler 型のパラメータを持つ javax.xml.soap のメソッド
 AttachmentPart SOAPMessage.createAttachmentPart(DataHandler dataHandler)
          AttachmentPart オブジェクトを作成し、指定した DataHandler オブジェクトを使用して生成します。
abstract  void AttachmentPart.setDataHandler(DataHandler dataHandler)
          指定の DataHandler オブジェクトを AttachmentPart オブジェクトのデータハンドラとして設定します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。