public interface PropertyEditorRegistrar
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.
PropertyEditorRegistry
,
<code>PropertyEditor</code>Modifier and Type | Method and Description |
---|---|
void |
registerCustomEditors(PropertyEditorRegistry registry)
Register custom <code>PropertyEditors</code> with
the given
PropertyEditorRegistry . |
void registerCustomEditors(PropertyEditorRegistry registry)
PropertyEditorRegistry
.
The passed-in registry will usually be a BeanWrapper
or a
DataBinder
.
It is expected that implementations will create brand new
PropertyEditors
instances for each invocation of this
method (since PropertyEditors
are not threadsafe).
registry
- the PropertyEditorRegistry
to register the
custom PropertyEditors
with