private void parseConfiguration(Element ele, DozerBuilder builder) {
        DozerBuilder.ConfigurationBuilder configBuilder = builder.configuration();
        NodeList nl = ele.getChildNodes();
        for (int i = 0; i < nl.getLength(); i++) {
            Node node = nl.item(i);
            if (node instanceof Element) {
                Element element = (Element)node;

                debugElement(element);

                final String nodeValue = getNodeValue(element);

                if (STOP_ON_ERRORS_ELEMENT.equals(element.getNodeName())) {
                    configBuilder.stopOnErrors(Boolean.valueOf(nodeValue));
                } else if (DATE_FORMAT.equals(element.getNodeName())) {
                    configBuilder.dateFormat(nodeValue);
                } else if (WILDCARD.equals(element.getNodeName())) {
                    configBuilder.wildcard(Boolean.valueOf(nodeValue));
                } else if (WILDCARD_CASE_INSENSITIVE.equals(element.getNodeName())) {
                    configBuilder.wildcardCaseInsensitive(Boolean.valueOf(nodeValue));
                } else if (TRIM_STRINGS.equals(element.getNodeName())) {
                    configBuilder.trimStrings(Boolean.valueOf(nodeValue));
                } else if (MAP_NULL.equals(element.getNodeName())) {
                    configBuilder.mapNull(Boolean.valueOf(nodeValue));
                } else if (MAP_EMPTY_STRING.equals(element.getNodeName())) {
                    configBuilder.mapEmptyString(Boolean.valueOf(nodeValue));
                } else if (RELATIONSHIP_TYPE.equals(element.getNodeName())) {
                    RelationshipType relationshipType = RelationshipType.valueOf(nodeValue);
                    configBuilder.relationshipType(relationshipType);
                } else if (BEAN_FACTORY.equals(element.getNodeName())) {
                    configBuilder.beanFactory(nodeValue);
                } else if (CUSTOM_CONVERTERS_ELEMENT.equals(element.getNodeName())) {
                    parseCustomConverters(element, configBuilder);
                } else if (COPY_BY_REFERENCES_ELEMENT.equals(element.getNodeName())) {
                    parseCopyByReferences(element, configBuilder);
                } else if (ALLOWED_EXCEPTIONS_ELEMENT.equals(element.getNodeName())) {
                    parseAllowedExceptions(element, configBuilder);
                } else if (VARIABLES_ELEMENT.equals(element.getNodeName())) {
                    parseVariables(element);
                }
            }
        }
    }
Builds object representation of mappings based on content of Xml document

@return mapping container
core/src/main/java/com/github/dozermapper/core/loader/xml/XMLParser.java