code: public CmsSearchDocumentType getDocumentTypeConfig(String name) {
  
          // this is really used only for the search manager GUI,
          // so performance is not an issue and no lookup map is generated
          for (int i = 0; i < m_documentTypeConfigs.size(); i++) {
              CmsSearchDocumentType type = m_documentTypeConfigs.get(i);
              if (type.getName().equals(name)) {
                  return type;
              }
          }
          return null;
      }
docs: Returns a document type config.<p>
  
  @param name the name of the document type config
  @return the document type config.