接口的使用
org.springframework.beans.PropertyEditorRegistry
使用PropertyEditorRegistry的程序包 程序包 说明 org.springframework.beans This package contains interfaces and classes for manipulating Java beans.org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.beans.support Classes supporting the org.springframework.beans package, such as utility classes for sorting and holding lists of beans.org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.web.bind Provides web-specific data binding functionality.org.springframework.web.bind.support Support classes for web data binding.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.beans中PropertyEditorRegistry的使用
org.springframework.beans中PropertyEditorRegistry的子接口 修饰符和类型 接口 说明 interface
BeanWrapper
The central interface of Spring's low-level JavaBeans infrastructure.interface
ConfigurablePropertyAccessor
Interface that encapsulates configuration methods for a PropertyAccessor.实现PropertyEditorRegistry的org.springframework.beans中的类 修饰符和类型 类 说明 class
AbstractNestablePropertyAccessor
A basicConfigurablePropertyAccessor
that provides the necessary infrastructure for all typical use cases.class
AbstractPropertyAccessor
Abstract implementation of thePropertyAccessor
interface.class
BeanWrapperImpl
DefaultBeanWrapper
implementation that should be sufficient for all typical use cases.class
DirectFieldAccessor
ConfigurablePropertyAccessor
implementation that directly accesses instance fields.class
PropertyEditorRegistrySupport
Base implementation of thePropertyEditorRegistry
interface.class
SimpleTypeConverter
Simple implementation of theTypeConverter
interface that does not operate on a specific target object.class
TypeConverterSupport
Base implementation of theTypeConverter
interface, using a package-private delegate.参数类型为PropertyEditorRegistry的org.springframework.beans中的方法 修饰符和类型 方法 说明 protected void
PropertyEditorRegistrySupport. copyCustomEditorsTo(PropertyEditorRegistry target, String nestedProperty)
Copy the custom editors registered in this instance to the given target registry.void
PropertyEditorRegistrar. registerCustomEditors(PropertyEditorRegistry registry)
Register customPropertyEditors
with the givenPropertyEditorRegistry
.org.springframework.beans.factory.config中PropertyEditorRegistry的使用
参数类型为PropertyEditorRegistry的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 void
ConfigurableBeanFactory. copyRegisteredEditorsTo(PropertyEditorRegistry registry)
Initialize the given PropertyEditorRegistry with the custom editors that have been registered with this BeanFactory.org.springframework.beans.factory.support中PropertyEditorRegistry的使用
参数类型为PropertyEditorRegistry的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 void
AbstractBeanFactory. copyRegisteredEditorsTo(PropertyEditorRegistry registry)
protected void
AbstractBeanFactory. registerCustomEditors(PropertyEditorRegistry registry)
Initialize the given PropertyEditorRegistry with the custom editors that have been registered with this BeanFactory.org.springframework.beans.support中PropertyEditorRegistry的使用
参数类型为PropertyEditorRegistry的org.springframework.beans.support中的方法 修饰符和类型 方法 说明 void
ResourceEditorRegistrar. registerCustomEditors(PropertyEditorRegistry registry)
Populate the givenregistry
with the following resource editors: ResourceEditor, InputStreamEditor, InputSourceEditor, FileEditor, URLEditor, URIEditor, ClassEditor, ClassArrayEditor.org.springframework.validation中PropertyEditorRegistry的使用
实现PropertyEditorRegistry的org.springframework.validation中的类 修饰符和类型 类 说明 class
DataBinder
Binder that allows for setting property values onto a target object, including support for validation and binding result analysis.返回PropertyEditorRegistry的org.springframework.validation中的方法 修饰符和类型 方法 说明 PropertyEditorRegistry
AbstractBindingResult. getPropertyEditorRegistry()
This implementation returnsnull
.PropertyEditorRegistry
AbstractPropertyBindingResult. getPropertyEditorRegistry()
Returns the underlying PropertyAccessor.PropertyEditorRegistry
BindException. getPropertyEditorRegistry()
PropertyEditorRegistry
BindingResult. getPropertyEditorRegistry()
Return the underlying PropertyEditorRegistry.protected PropertyEditorRegistry
DataBinder. getPropertyEditorRegistry()
Return the underlying TypeConverter of this binder's BindingResult.org.springframework.web.bind中PropertyEditorRegistry的使用
实现PropertyEditorRegistry的org.springframework.web.bind中的类 修饰符和类型 类 说明 class
ServletRequestDataBinder
SpecialDataBinder
to perform data binding from servlet request parameters to JavaBeans, including support for multipart files.class
WebDataBinder
SpecialDataBinder
for data binding from web request parameters to JavaBean objects.org.springframework.web.bind.support中PropertyEditorRegistry的使用
实现PropertyEditorRegistry的org.springframework.web.bind.support中的类 修饰符和类型 类 说明 class
WebExchangeDataBinder
SpecializedDataBinder
to perform data binding from URL query params or form data in the request data to Java objects.class
WebRequestDataBinder
SpecialDataBinder
to perform data binding from web request parameters to JavaBeans, including support for multipart files.返回PropertyEditorRegistry的org.springframework.web.bind.support中的方法 修饰符和类型 方法 说明 PropertyEditorRegistry
WebExchangeBindException. getPropertyEditorRegistry()
org.springframework.web.servlet.mvc.method.annotation中PropertyEditorRegistry的使用
实现PropertyEditorRegistry的org.springframework.web.servlet.mvc.method.annotation中的类 修饰符和类型 类 说明 class
ExtendedServletRequestDataBinder
Subclass ofServletRequestDataBinder
that adds URI template variables to the values used for data binding.