code: String[] getInterfaces(XsdElement element, String apiName) {
          String[] attributeGroupInterfacesArr =  getAttributeGroupInterfaces(element);
          String[] elementGroupInterfacesArr =  getElementInterfaces(element, apiName);
          String[] hierarchyInterfacesArr = getHierarchyInterfaces(element, apiName);
  
          return ArrayUtils.addAll(ArrayUtils.addAll(attributeGroupInterfacesArr, elementGroupInterfacesArr), hierarchyInterfacesArr);
      }
docs: Obtains all the interfaces that a given element will implement.
  @param element The {@link XsdElement} in which the class will be based.
  @param apiName The name of the generated fluent interface.
  @return A {@link String} array with all the interface names.