Interface MappingProvider

    • Method Detail

      • map

        <T> T map​(java.lang.Object source,
                  java.lang.Class<T> targetType,
                  Configuration configuration)
        Type Parameters:
        T - the mapped result type
        Parameters:
        source - object to map
        targetType - the type the source object should be mapped to
        configuration - current configuration
        Returns:
        return the mapped object
      • map

        <T> T map​(java.lang.Object source,
                  TypeRef<T> targetType,
                  Configuration configuration)
        Type Parameters:
        T - the mapped result type
        Parameters:
        source - object to map
        targetType - the type the source object should be mapped to
        configuration - current configuration
        Returns:
        return the mapped object