Class ReflectionConverter

    • Field Detail

      • type

        private java.lang.Class type
    • Constructor Detail

      • ReflectionConverter

        public ReflectionConverter​(Mapper mapper,
                                   ReflectionProvider reflectionProvider,
                                   java.lang.Class type)
        Construct a ReflectionConverter for an explicit type.
        Parameters:
        mapper - the mapper in use
        reflectionProvider - the reflection provider in use
        type - the explicit type to handle
        Since:
        1.4.7
    • Method Detail

      • canConvert

        public boolean canConvert​(java.lang.Class type)
        Description copied from interface: ConverterMatcher
        Determines whether the converter can marshall a particular type.
        Parameters:
        type - the Class representing the object type to be converted