接口的使用
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.factorypackage.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.annotationpackage.org.springframework.beans中PropertyEditorRegistry的使用
org.springframework.beans中PropertyEditorRegistry的子接口 修饰符和类型 接口 说明 interfaceBeanWrapperThe central interface of Spring's low-level JavaBeans infrastructure.interfaceConfigurablePropertyAccessorInterface that encapsulates configuration methods for a PropertyAccessor.实现PropertyEditorRegistry的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.classPropertyEditorRegistrySupportBase implementation of thePropertyEditorRegistryinterface.classSimpleTypeConverterSimple implementation of theTypeConverterinterface that does not operate on a specific target object.classTypeConverterSupportBase implementation of theTypeConverterinterface, using a package-private delegate.参数类型为PropertyEditorRegistry的org.springframework.beans中的方法 修饰符和类型 方法 说明 protected voidPropertyEditorRegistrySupport. copyCustomEditorsTo(PropertyEditorRegistry target, String nestedProperty)Copy the custom editors registered in this instance to the given target registry.voidPropertyEditorRegistrar. registerCustomEditors(PropertyEditorRegistry registry)Register customPropertyEditorswith the givenPropertyEditorRegistry.org.springframework.beans.factory.config中PropertyEditorRegistry的使用
参数类型为PropertyEditorRegistry的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 voidConfigurableBeanFactory. 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中的方法 修饰符和类型 方法 说明 voidAbstractBeanFactory. copyRegisteredEditorsTo(PropertyEditorRegistry registry)protected voidAbstractBeanFactory. 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中的方法 修饰符和类型 方法 说明 voidResourceEditorRegistrar. registerCustomEditors(PropertyEditorRegistry registry)Populate the givenregistrywith the following resource editors: ResourceEditor, InputStreamEditor, InputSourceEditor, FileEditor, URLEditor, URIEditor, ClassEditor, ClassArrayEditor.org.springframework.validation中PropertyEditorRegistry的使用
实现PropertyEditorRegistry的org.springframework.validation中的类 修饰符和类型 类 说明 classDataBinderBinder that allows for setting property values onto a target object, including support for validation and binding result analysis.返回PropertyEditorRegistry的org.springframework.validation中的方法 修饰符和类型 方法 说明 PropertyEditorRegistryAbstractBindingResult. getPropertyEditorRegistry()This implementation returnsnull.PropertyEditorRegistryAbstractPropertyBindingResult. getPropertyEditorRegistry()Returns the underlying PropertyAccessor.PropertyEditorRegistryBindException. getPropertyEditorRegistry()PropertyEditorRegistryBindingResult. getPropertyEditorRegistry()Return the underlying PropertyEditorRegistry.protected PropertyEditorRegistryDataBinder. getPropertyEditorRegistry()Return the underlying TypeConverter of this binder's BindingResult.org.springframework.web.bind中PropertyEditorRegistry的使用
实现PropertyEditorRegistry的org.springframework.web.bind中的类 修饰符和类型 类 说明 classServletRequestDataBinderSpecialDataBinderto perform data binding from servlet request parameters to JavaBeans, including support for multipart files.classWebDataBinderSpecialDataBinderfor data binding from web request parameters to JavaBean objects.org.springframework.web.bind.support中PropertyEditorRegistry的使用
实现PropertyEditorRegistry的org.springframework.web.bind.support中的类 修饰符和类型 类 说明 classWebExchangeDataBinderSpecializedDataBinderto perform data binding from URL query params or form data in the request data to Java objects.classWebRequestDataBinderSpecialDataBinderto perform data binding from web request parameters to JavaBeans, including support for multipart files.返回PropertyEditorRegistry的org.springframework.web.bind.support中的方法 修饰符和类型 方法 说明 PropertyEditorRegistryWebExchangeBindException. getPropertyEditorRegistry()org.springframework.web.servlet.mvc.method.annotation中PropertyEditorRegistry的使用
实现PropertyEditorRegistry的org.springframework.web.servlet.mvc.method.annotation中的类 修饰符和类型 类 说明 classExtendedServletRequestDataBinderSubclass ofServletRequestDataBinderthat adds URI template variables to the values used for data binding.