クラス
javax.xml.bind.annotation.adapters.XmlAdapterの使用
-
XmlAdapterを使用しているパッケージ パッケージ 説明 javax.xml.bind 非整列化、整列化および検証機能を含む実行時バインディング・フレームワークをクライアント・アプリケーションに提供します。javax.xml.bind.annotation.adapters XmlAdapter
と仕様定義済みのこのサブクラスは、任意のJavaクラスをJAXBで使用できるようにします。javax.xml.bind.helpers JAXBプロバイダのみが使用します。いくつかのjavax.xml.bind
インタフェースの部分的なデフォルト実装を提供します。 -
-
javax.xml.bindでのXmlAdapterの使用
XmlAdapter型の型パラメータを持つjavax.xml.bind内のメソッド 修飾子と型 メソッド 説明 <A extends XmlAdapter>
AMarshaller. getAdapter(Class<A> type)
指定した型に関連付けられているアダプタを取得します。<A extends XmlAdapter>
AUnmarshaller. getAdapter(Class<A> type)
指定した型に関連付けられているアダプタを取得します。<A extends XmlAdapter>
voidMarshaller. setAdapter(Class<A> type, A adapter)
XmlAdapter
の構成済みのインスタンスをこのマーシャラに関連付けます。<A extends XmlAdapter>
voidUnmarshaller. setAdapter(Class<A> type, A adapter)
XmlAdapter
の構成済みのインスタンスをこのアンマーシャラに関連付けます。XmlAdapter型のパラメータを持つjavax.xml.bind内のメソッド 修飾子と型 メソッド 説明 void
Marshaller. setAdapter(XmlAdapter adapter)
XmlAdapter
の構成済みのインスタンスをこのマーシャラに関連付けます。void
Unmarshaller. setAdapter(XmlAdapter adapter)
XmlAdapter
の構成済みのインスタンスをこのアンマーシャラに関連付けます。 -
javax.xml.bind.annotation.adaptersでのXmlAdapterの使用
javax.xml.bind.annotation.adapters内のXmlAdapterのサブクラス 修飾子と型 クラス 説明 class
CollapsedStringAdapter
xs:token
とその派生型を処理する組み込みXmlAdapter
。class
HexBinaryAdapter
xs:hexBinary
用のXmlAdapter
。class
NormalizedStringAdapter
xs:normalizedString
を処理するXmlAdapter
。 -
javax.xml.bind.helpersでのXmlAdapterの使用
XmlAdapter型の型パラメータを持つjavax.xml.bind.helpers内のメソッド 修飾子と型 メソッド 説明 <A extends XmlAdapter>
AAbstractMarshallerImpl. getAdapter(Class<A> type)
<A extends XmlAdapter>
AAbstractUnmarshallerImpl. getAdapter(Class<A> type)
<A extends XmlAdapter>
voidAbstractMarshallerImpl. setAdapter(Class<A> type, A adapter)
<A extends XmlAdapter>
voidAbstractUnmarshallerImpl. setAdapter(Class<A> type, A adapter)
XmlAdapter型のパラメータを持つjavax.xml.bind.helpers内のメソッド 修飾子と型 メソッド 説明 void
AbstractMarshallerImpl. setAdapter(XmlAdapter adapter)
void
AbstractUnmarshallerImpl. setAdapter(XmlAdapter adapter)
-