private DozerBuilder.FieldMappingBuilder determineFieldMap(DozerBuilder.MappingBuilder definitionBuilder, Element ele) {
        DozerBuilder.FieldMappingBuilder fieldMapBuilder = definitionBuilder.field();

        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;

                if (A_ELEMENT.equals(element.getNodeName())) {
                    String name = getNodeValue(element);
                    String type = getAttribute(element, TYPE_ATTRIBUTE);
                    DozerBuilder.FieldDefinitionBuilder builder = fieldMapBuilder.a(name, type);
                    parseField(element, builder);
                }
                if (B_ELEMENT.equals(element.getNodeName())) {
                    String name = getNodeValue(element);
                    String type = getAttribute(element, TYPE_ATTRIBUTE);
                    DozerBuilder.FieldDefinitionBuilder builder = fieldMapBuilder.b(name, type);
                    parseField(element, builder);
                }
            }
        }

        return fieldMapBuilder;
    }
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