org.shept.org.springframework.beans
Class CustomEditorHolder
java.lang.Object
org.shept.org.springframework.beans.CustomEditorHolder
- All Implemented Interfaces:
- PropertyEditorHolder
public class CustomEditorHolder
- extends Object
- implements PropertyEditorHolder
Holder for a registered custom editor with property name.
Keeps the PropertyEditor itself plus the type it was registered for.
NOTE: this is from org.springframework.beans.PropertyEditorRegistrySupport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyEditor
private PropertyEditor propertyEditor
registeredType
private Class<?> registeredType
CustomEditorHolder
public CustomEditorHolder(PropertyEditor propertyEditor,
Class<?> registeredType)
setPropertyEditor
public void setPropertyEditor(PropertyEditor propertyEditor)
getPropertyEditor
public PropertyEditor getPropertyEditor()
- Specified by:
getPropertyEditor in interface PropertyEditorHolder
setRegisteredType
public void setRegisteredType(Class<?> registeredType)
getRegisteredType
public Class<?> getRegisteredType()
- Specified by:
getRegisteredType in interface PropertyEditorHolder
Copyright © 2011. All Rights Reserved.