Class CompositeConversionService

  • All Implemented Interfaces:
    org.springframework.core.convert.ConversionService

    public class CompositeConversionService
    extends Object
    implements org.springframework.core.convert.ConversionService
    • Constructor Detail

      • CompositeConversionService

        public CompositeConversionService​(List<org.springframework.core.convert.ConversionService> delegates)
    • Method Detail

      • canConvert

        public boolean canConvert​(Class<?> sourceType,
                                  Class<?> targetType)
        Specified by:
        canConvert in interface org.springframework.core.convert.ConversionService
      • canConvert

        public boolean canConvert​(org.springframework.core.convert.TypeDescriptor sourceType,
                                  org.springframework.core.convert.TypeDescriptor targetType)
        Specified by:
        canConvert in interface org.springframework.core.convert.ConversionService
      • convert

        public <T> T convert​(Object source,
                             Class<T> targetType)
        Specified by:
        convert in interface org.springframework.core.convert.ConversionService
      • convert

        public Object convert​(Object source,
                              org.springframework.core.convert.TypeDescriptor sourceType,
                              org.springframework.core.convert.TypeDescriptor targetType)
        Specified by:
        convert in interface org.springframework.core.convert.ConversionService