Interface MappingProvider<T>

    • Method Detail

      • init

        void init​(Map<String,​Object> options)
        Initialize the provider with the configured module options
        Parameters:
        options -
      • performMapping

        void performMapping​(Map<String,​Object> map,
                            T mappedObject)
        Map the passed object
        Parameters:
        map - A read-only contextual map that can provide information to the provider
        mappedObject - an Object on which the mapping will be applied
        Throws:
        IllegalArgumentException - if the mappedObject is not understood by the provider.
      • setMappingResult

        void setMappingResult​(MappingResult<T> result)
        Injected by the MappingContext
        Parameters:
        result -
      • supports

        boolean supports​(Class<?> p)
        Whether this mapping provider supports mapping T
        Parameters:
        t -
        Returns: