org.springframework.beans
Interface PropertyEditorRegistrar


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.

Serves as super-interface for the BeanWrapper interface. Implemented by BeanWrapperImpl and also by the DataBinder class in the validation package.

Since:
1.2.6
Author:
Juergen Hoeller
See Also:
BeanWrapper, BeanWrapperImpl, DataBinder, PropertyEditor

Method Summary
 void registerCustomEditors(PropertyEditorRegistry registry)
          Register custom PropertyEditors with the given PropertyEditorRegistry.
 

Method Detail

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


Copyright (c) 2002-2005 The Spring Framework Project.