docs: private List getXmlContentResourceTypes() {
  
          // get all available resource types and filter XML content resource types
          List resTypes = OpenCms.getResourceManager().getResourceTypes();
          Iterator i = resTypes.iterator();
          List resTypeNames = new ArrayList(resTypes.size());
          while (i.hasNext()) {
              I_CmsResourceType resType = (I_CmsResourceType)i.next();
              if (!(resType instanceof CmsResourceTypeXmlContent)) {
                  // this is not XML content resource type, skip it
                  continue;
              }
              if (!resType.getTypeName().equals(TYPE_XMLCONTENT)) {
                  resTypeNames.add(resType.getTypeName());
              }
          }
  
          // create the selector options
          List result = new ArrayList(resTypeNames.size() + 2);
          // add empty "please select" option to selector
          result.add(new CmsSelectWidgetOption("", true, key(Messages.GUI_XMLCONTENTREPAIR_DIALOG_RESTYPE_SELECT_0)));
  
          // sort the resource type names alphabetically
          Collections.sort(resTypeNames);
          i = resTypeNames.iterator();
          while (i.hasNext()) {
              // add all resource type names to the selector
              String resTypeName = (String)i.next();
              result.add(new CmsSelectWidgetOption(resTypeName));
          }
  
          // add option for generic XML content without "own" resource types at the end
          result.add(
              new CmsSelectWidgetOption(
                  TYPE_XMLCONTENT,
                  false,
                  key(Messages.GUI_XMLCONTENTREPAIR_DIALOG_RESTYPE_GENERIC_0)));
  
          return result;
      }