Package org.springframework.binding.convert.support

Examples of org.springframework.binding.convert.support.GenericConversionService


    ConversionExecutor convertFrom = null;

    // Check for locally registered property converters
    if (propertyConversionServices.containsKey(formProperty)) {
      // TODO - extract ConfigurableConversionService interface...
      final GenericConversionService propertyConversionService = (GenericConversionService) propertyConversionServices
          .get(formProperty);

      if (propertyConversionService != null) {
        convertTo = propertyConversionService.getConversionExecutor(sourceClass, targetClass);
        convertFrom = propertyConversionService.getConversionExecutor(targetClass, sourceClass);
      }
    }

    // If we have nothing from the property level, then try the conversion
    // service
View Full Code Here

TOP

Related Classes of org.springframework.binding.convert.support.GenericConversionService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.