code: private String[] getElementInterfaces(XsdElement element, String apiName){
          XsdAbstractElement child = getElementInterfacesElement(element);
          List<String> interfaceNames = null;
  
          if (child != null){
              List<InterfaceInfo> interfaceInfo = iterativeCreation(child, getCleanName(element), 0, apiName, null);
              interfaceNames = interfaceInfo.stream().map(InterfaceInfo::getInterfaceName).collect(Collectors.toList());
          }
  
          return listToArray(interfaceNames, TEXT_GROUP);
      }
docs: This method obtains the element interfaces which his class will be implementing.
  The interfaces are represented in {@link XsdAbstractElement} objects as {@link XsdGroup}, {@link XsdAll},
  {@link XsdSequence} and {@link XsdChoice}. The respective methods of the interfaces will be the elements from the
  types enumerated previously.
  @param element The element from which the interfaces will be obtained.
  @param apiName The name of the generated fluent interface.
  @return A {@link String} array containing the names of all the interfaces this method implements.