Example usage for org.springframework.beans BeanWrapperImpl findCustomEditor

List of usage examples for org.springframework.beans BeanWrapperImpl findCustomEditor

Introduction

In this page you can find the example usage for org.springframework.beans BeanWrapperImpl findCustomEditor.

Prototype

@Override
    @Nullable
    public PropertyEditor findCustomEditor(@Nullable Class<?> requiredType, @Nullable String propertyPath) 

Source Link

Usage

From source file:org.sakaiproject.metaobj.utils.mvc.impl.BeanWrapperBase.java

public PropertyEditor findCustomEditor(Class requiredType, String propertyPath) {
    if (propertyPath != null && isNestedProperty(propertyPath)) {
        BeanWrapperImpl bw = getBeanWrapperForPropertyPath(propertyPath);
        return bw.findCustomEditor(requiredType, getFinalPath(propertyPath));
    } else {/* w  w  w.  ja  v a  2s. co  m*/
        return super.findCustomEditor(requiredType, propertyPath);
    }
}