JavaTM Platform
Standard Ed. 6

javax.xml.bind.annotation
注釈型 XmlInlineBinaryData


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD,TYPE})
public @interface XmlInlineBinaryData

XML 内の base64 エンコードバイナリデータにバインドされるデータ型に対する XOP エンコーディングの考慮を無効にします。

AttachmentMarshaller.isXOPPackage() で説明されているように XOP エンコーディングが有効な場合、この注釈は、base64 エンコードバイナリにバインドされる Image または Source または byte[] などのデータ型における XOP エンコーディングの考慮を無効にします。JAXB プロパティーがこの注釈で注釈されている場合、または JAXB プロパティーの基底型がこの注釈で注釈されている場合、そのプロパティーに対して AttachmentMarshaller.addMtomAttachment(DataHandler, String, String) または AttachmentMarshaller.addMtomAttachment(byte[], int, int, String, String, String) はいずれも呼び出されません。バイナリデータは常にインラインになります。

導入されたバージョン:
JAXB2.0


JavaTM Platform
Standard Ed. 6

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

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