org.riotfamily.common.beans
Class DefaultPropertyEditorRegistry

java.lang.Object
  extended by org.springframework.beans.PropertyEditorRegistrySupport
      extended by org.riotfamily.common.beans.DefaultPropertyEditorRegistry
All Implemented Interfaces:
PropertyEditorRegistry

public class DefaultPropertyEditorRegistry
extends PropertyEditorRegistrySupport

PropertyEditorRegistry that provides a method to return eiter a custom editor or a suitable default editor as fallback.

Since:
6.4
Author:
Felix Gnass [fgnass at neteye dot de]

Constructor Summary
DefaultPropertyEditorRegistry()
           
 
Method Summary
 PropertyEditor findEditor(Class<?> requiredType)
           
 PropertyEditor findEditor(Class<?> requiredType, String propertyPath)
           
 
Methods inherited from class org.springframework.beans.PropertyEditorRegistrySupport
copyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getDefaultEditor, getPropertyType, guessPropertyTypeFromEditors, hasCustomEditorForElement, isSharedEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, registerSharedEditor, useConfigValueEditors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyEditorRegistry

public DefaultPropertyEditorRegistry()
Method Detail

findEditor

public PropertyEditor findEditor(Class<?> requiredType)

findEditor

public PropertyEditor findEditor(Class<?> requiredType,
                                 String propertyPath)