org.springframework.batch.support
Class DefaultPropertyEditorRegistrar
java.lang.Object
org.springframework.batch.support.DefaultPropertyEditorRegistrar
- All Implemented Interfaces:
- PropertyEditorRegistrar
- Direct Known Subclasses:
- BeanWrapperFieldSetMapper
public class DefaultPropertyEditorRegistrar
- extends Object
- implements PropertyEditorRegistrar
A re-usable PropertyEditorRegistrar
that can be used wherever one
needs to register custom PropertyEditor
instances with a
PropertyEditorRegistry
(like a bean wrapper, or a type converter).
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPropertyEditorRegistrar
public DefaultPropertyEditorRegistrar()
registerCustomEditors
public void registerCustomEditors(PropertyEditorRegistry registry)
- Register the custom editors with the given registry.
- Specified by:
registerCustomEditors
in interface PropertyEditorRegistrar
- See Also:
PropertyEditorRegistrar.registerCustomEditors(org.springframework.beans.PropertyEditorRegistry)
setCustomEditors
public void setCustomEditors(Map customEditors)
- Specify the
custom editors
to register.
- Parameters:
customEditors
- a map of Class to PropertyEditor (or class name to
PropertyEditor).- See Also:
CustomEditorConfigurer.setCustomEditors(Map)
Copyright © 2009 SpringSource. All Rights Reserved.