接口的使用
org.springframework.beans.ConfigurablePropertyAccessor
使用ConfigurablePropertyAccessor的程序包 程序包 说明 org.springframework.beans This package contains interfaces and classes for manipulating Java beans.org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.beans中ConfigurablePropertyAccessor的使用
org.springframework.beans中ConfigurablePropertyAccessor的子接口 修饰符和类型 接口 说明 interfaceBeanWrapperThe central interface of Spring's low-level JavaBeans infrastructure.实现ConfigurablePropertyAccessor的org.springframework.beans中的类 修饰符和类型 类 说明 classAbstractNestablePropertyAccessorA basicConfigurablePropertyAccessorthat provides the necessary infrastructure for all typical use cases.classAbstractPropertyAccessorAbstract implementation of thePropertyAccessorinterface.classBeanWrapperImplDefaultBeanWrapperimplementation that should be sufficient for all typical use cases.classDirectFieldAccessorConfigurablePropertyAccessorimplementation that directly accesses instance fields.返回ConfigurablePropertyAccessor的org.springframework.beans中的方法 修饰符和类型 方法 说明 static ConfigurablePropertyAccessorPropertyAccessorFactory. forDirectFieldAccess(Object target)Obtain a PropertyAccessor for the given target object, accessing properties in direct field style.org.springframework.validation中ConfigurablePropertyAccessor的使用
返回ConfigurablePropertyAccessor的org.springframework.validation中的方法 修饰符和类型 方法 说明 protected ConfigurablePropertyAccessorDirectFieldBindingResult. createDirectFieldAccessor()Create a new DirectFieldAccessor for the underlying target object.abstract ConfigurablePropertyAccessorAbstractPropertyBindingResult. getPropertyAccessor()Provide the PropertyAccessor to work with, according to the concrete strategy of access.ConfigurablePropertyAccessorBeanPropertyBindingResult. getPropertyAccessor()Returns theBeanWrapperthat this instance uses.protected ConfigurablePropertyAccessorDataBinder. getPropertyAccessor()Return the underlying PropertyAccessor of this binder's BindingResult.ConfigurablePropertyAccessorDirectFieldBindingResult. getPropertyAccessor()Returns the DirectFieldAccessor that this instance uses.