当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
PropertyEditorRegistrar (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.beans
Interface PropertyEditorRegistrar
- All Known Implementing Classes:
- ResourceEditorRegistrar
public interface PropertyEditorRegistrar
Interface for strategies that register custom property editors with a
property editor registry. This is particularly useful when you need to use
the same set of property editors in several different situations: write
a corresponding registrar and reuse that in each case.
- Since:
- 1.2.6
- Author:
- Juergen Hoeller
- See Also:
PropertyEditorRegistry
,
PropertyEditor
registerCustomEditors
void registerCustomEditors(PropertyEditorRegistry registry)
- Register custom PropertyEditors with the given PropertyEditorRegistry.
The passed-in registry will usually be a BeanWrapper or a DataBinder.
- Parameters:
registry
- the PropertyEditorRegistry to register the custom
PropertyEditors with- See Also:
BeanWrapper
,
DataBinder
Copyright © 2002-2007 The Spring Framework.