Package org.springframework.binding.convert.converters

Examples of org.springframework.binding.convert.converters.ObjectToCollection


    addConverter(new StringToBigInteger());
    addConverter(new StringToBigDecimal());
    addConverter(new StringToLocale());
    addConverter(new StringToDate());
    addConverter(new StringToLabeledEnum());
    addConverter(new ObjectToCollection(this));
    addConverter(new NumberToNumber());
    if (ClassUtils.isPresent("java.lang.Enum", this.getClass().getClassLoader())) {
      addConverter(new StringToEnum());
    }
  }
View Full Code Here


              (TwoWayConverter) converter);
        } else {
          elementConverter = new StaticConversionExecutor(sourceClass, converter.getTargetClass(), converter);
        }
        if (!Collection.class.isAssignableFrom(converter.getTargetClass())) {
          elementConverter = new StaticConversionExecutor(sourceClass, targetClass, new ObjectToCollection(
              elementConverter));
        }
        return elementConverter;
      }
    }
View Full Code Here

TOP

Related Classes of org.springframework.binding.convert.converters.ObjectToCollection

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.