code: void generateInterfaces(Map<String, List<XsdAttribute>> createdAttributes, String apiName) {
          attributeGroupInterfaces.keySet().forEach(attributeGroupInterface -> generateAttributesGroupInterface(createdAttributes, attributeGroupInterface, attributeGroupInterfaces.get(attributeGroupInterface), apiName));
          hierarchyInterfaces.values().forEach(hierarchyInterface -> generateHierarchyAttributeInterfaces(createdAttributes, hierarchyInterface, apiName));
      }
docs: Generates all the required interfaces, based on the information gathered while creating the other classes.
  It creates both types of interfaces:
  ElementGroupInterfaces - Interfaces that serve as a base to adding child elements to the current element;
  AttributeGroupInterfaces - Interface that serve as a base to adding attributes to the current element;
  @param createdAttributes Information about the attributes that are already created.
  @param apiName The name of the generated fluent interface.