private List<MappingFileData> loadFromFiles(List<String> mappingFiles, XMLParserFactory xmlParserFactory, XMLParser xmlParser,
                                                BeanContainer beanContainer) {
        MappingFileReader mappingFileReader = new MappingFileReader(xmlParserFactory, xmlParser, beanContainer);
        List<MappingFileData> mappingFileDataList = new ArrayList<>();
        if (mappingFiles != null && mappingFiles.size() > 0) {
            LOG.info("Using the following xml files to load custom mappings for the bean mapper instance: {}", mappingFiles);

            for (String mappingFileName : mappingFiles) {
                LOG.info("Trying to find xml mapping file: {}", mappingFileName);

                URL url = MappingValidator.validateURL(mappingFileName, beanContainer);

                LOG.info("Using URL [" + url + "] to load custom xml mappings");

                MappingFileData mappingFileData = mappingFileReader.read(url);

                LOG.info("Successfully loaded custom xml mappings from URL: [{}]", url);

                mappingFileDataList.add(mappingFileData);
            }
        }

        return mappingFileDataList;
    }
Creates an instance of {@link Mapper}. Mapper is configured according to the current builder state.
<p>
Subsequent calls of this method will return new instances.

@return new instance of {@link Mapper}.
core/src/main/java/com/github/dozermapper/core/DozerBeanMapperBuilder.java