インターフェース AnnotationFormatterFactory<A extends AnnotationSE>
- 型パラメーター:
- A- フォーマットをトリガーするアノテーション型
- すべての既知の実装クラス:
- DateTimeFormatAnnotationFormatterFactory、- Jsr310DateTimeFormatAnnotationFormatterFactory、- Jsr354NumberFormatAnnotationFormatterFactory、- NumberFormatAnnotationFormatterFactory
public interface AnnotationFormatterFactory<A extends AnnotationSE>
 特定の 
AnnotationSE のアノテーションが付けられたフィールドの値をフォーマットするフォーマッターを作成するファクトリ。 例: DateTimeFormatAnnotationFormatterFactory は、@DateTimeFormat アノテーションが付けられたフィールドに設定された Date 値をフォーマットするフォーマッターを作成する場合があります。
- 導入:
- 3.0
- 作成者:
- Keith Donald
- メソッドのサマリー修飾子と型メソッド説明アノテーションでアノテーションを付けることができるフィールドの型 <A>。</a>- Parser<?>- annotationのアノテーションが付けられた- fieldTypeのフィールドに対して送信された値を解析するパーサーを取得します。- Printer<?>- getPrinter- (A annotation, ClassSE<?> fieldType) - annotationのアノテーションが付けられた- fieldTypeのフィールドの値を出力するプリンターを取得します。
- メソッドの詳細- getFieldTypesアノテーションでアノテーションを付けることができるフィールドの型 <A>。</a>
- getPrinter- annotationのアノテーションが付けられた- fieldTypeのフィールドの値を出力するプリンターを取得します。- プリンターが受け入れる型 T が - fieldTypeに割り当て可能でない場合、プリンターが呼び出される前に- fieldTypeから T への強制が試行されます。- パラメーター:
- annotation- アノテーションインスタンス
- fieldType- アノテーションが付けられたフィールドの型
- 戻り値:
- プリンター
 
- getParser- annotationのアノテーションが付けられた- fieldTypeのフィールドに対して送信された値を解析するパーサーを取得します。- パーサーが返すオブジェクトが - fieldTypeに割り当てられない場合、フィールドが設定される前に- fieldTypeへの強制が試行されます。- パラメーター:
- annotation- アノテーションインスタンス
- fieldType- アノテーションが付けられたフィールドの型
- 戻り値:
- パーサー