インターフェース PropertyEditorRegistrar
- すべての既知の実装クラス:
ResourceEditorRegistrar
public interface PropertyEditorRegistrar
カスタム
property editorsSE を property editor registry に登録する戦略のインターフェース。これは、いくつかの状況で同じプロパティエディターのセットを使用する必要がある場合に特に役立ちます。対応するレジストラを作成し、それぞれの場合にそれを再利用します。
- 導入:
- 1.2.6
- 作成者:
- Juergen Hoeller
- 関連事項:
メソッドのサマリー
修飾子と型メソッド説明voidregisterCustomEditors(PropertyEditorRegistry registry) 指定されたPropertyEditorRegistryでカスタムPropertyEditorsSE を登録します。
メソッドの詳細
registerCustomEditors
指定されたPropertyEditorRegistryでカスタムPropertyEditorsSE を登録します。渡されるレジストリは通常、
BeanWrapperまたはDataBinderです。実装は、このメソッドの呼び出しごとに新しい
PropertyEditorsインスタンスを作成することが予想されます(PropertyEditorsはスレッドセーフではないため)。- パラメーター:
registry- カスタムPropertyEditorsを登録するPropertyEditorRegistry