インターフェースの使用
org.springframework.beans.ConfigurablePropertyAccessor
ConfigurablePropertyAccessor を使用するパッケージ
パッケージ
説明
このパッケージには、Java Bean を操作するためのインターフェースとクラスが含まれています。
ビジネスや UI レイヤーで使用するためのデータバインディングおよび検証機能を提供します。
org.springframework.beans 内の ConfigurablePropertyAccessor 使用
org.springframework.beans 内の ConfigurablePropertyAccessor サブインターフェースConfigurablePropertyAccessor を実装している org.springframework.beans のクラス修飾子と型クラス説明classすべての典型的な使用例に必要なインフラストラクチャを提供する基本的なConfigurablePropertyAccessor。classPropertyAccessorインターフェースの抽象的な実装。classデフォルトのBeanWrapper実装。これは、すべての一般的なユースケースで十分なはずです。classインスタンスフィールドに直接アクセスするConfigurablePropertyAccessor実装。修飾子と型メソッド説明static ConfigurablePropertyAccessorPropertyAccessorFactory.forDirectFieldAccess(ObjectSE target) 指定されたターゲットオブジェクトの PropertyAccessor を取得し、直接フィールドスタイルでプロパティにアクセスします。org.springframework.validation 内の ConfigurablePropertyAccessor 使用
修飾子と型メソッド説明protected ConfigurablePropertyAccessorDirectFieldBindingResult.createDirectFieldAccessor()基礎となるターゲットオブジェクトの新しい DirectFieldAccessor を作成します。abstract ConfigurablePropertyAccessorAbstractPropertyBindingResult.getPropertyAccessor()アクセスの具体的な戦略に従って、使用する PropertyAccessor を提供します。BeanPropertyBindingResult.getPropertyAccessor()このインスタンスが使用するBeanWrapperを返します。protected ConfigurablePropertyAccessorDataBinder.getPropertyAccessor()このバインダーの BindingResult の基になる PropertyAccessor を返します。DirectFieldBindingResult.getPropertyAccessor()このインスタンスが使用する DirectFieldAccessor を返します。