接口的使用
org.springframework.beans.PropertyEditorRegistrar
使用PropertyEditorRegistrar的程序包 程序包 说明 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.web.bind.support Support classes for web data binding.org.springframework.beans.factory.config中PropertyEditorRegistrar的使用
参数类型为PropertyEditorRegistrar的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 void
ConfigurableBeanFactory. addPropertyEditorRegistrar(PropertyEditorRegistrar registrar)
Add a PropertyEditorRegistrar to be applied to all bean creation processes.void
CustomEditorConfigurer. setPropertyEditorRegistrars(PropertyEditorRegistrar[] propertyEditorRegistrars)
Specify thePropertyEditorRegistrars
to apply to beans defined within the current application context.org.springframework.beans.factory.support中PropertyEditorRegistrar的使用
返回变量类型为PropertyEditorRegistrar的类型的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 Set<PropertyEditorRegistrar>
AbstractBeanFactory. getPropertyEditorRegistrars()
Return the set of PropertyEditorRegistrars.参数类型为PropertyEditorRegistrar的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 void
AbstractBeanFactory. addPropertyEditorRegistrar(PropertyEditorRegistrar registrar)
org.springframework.beans.support中PropertyEditorRegistrar的使用
实现PropertyEditorRegistrar的org.springframework.beans.support中的类 修饰符和类型 类 说明 class
ResourceEditorRegistrar
PropertyEditorRegistrar implementation that populates a givenPropertyEditorRegistry
(typically aBeanWrapper
used for bean creation within anApplicationContext
) with resource editors.org.springframework.web.bind.support中PropertyEditorRegistrar的使用
返回PropertyEditorRegistrar的org.springframework.web.bind.support中的方法 修饰符和类型 方法 说明 PropertyEditorRegistrar[]
ConfigurableWebBindingInitializer. getPropertyEditorRegistrars()
Return the PropertyEditorRegistrars to be applied to every DataBinder.参数类型为PropertyEditorRegistrar的org.springframework.web.bind.support中的方法 修饰符和类型 方法 说明 void
ConfigurableWebBindingInitializer. setPropertyEditorRegistrar(PropertyEditorRegistrar propertyEditorRegistrar)
Specify a single PropertyEditorRegistrar to be applied to every DataBinder.void
ConfigurableWebBindingInitializer. setPropertyEditorRegistrars(PropertyEditorRegistrar[] propertyEditorRegistrars)
Specify multiple PropertyEditorRegistrars to be applied to every DataBinder.