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