docs: public static String defaultCreateResourceToEdit(
          CmsObject cms,
          String newLink,
          Locale locale,
          String referenceSitePath,
          String modelFileSitePath,
          String mode,
          String postCreateHandler)
      throws CmsException {
  
          String newFileName;
          if (newLink.startsWith(CmsJspTagEdit.NEW_LINK_IDENTIFIER)) {
  
              newFileName = CmsJspTagEdit.createResource(
                  cms,
                  newLink,
                  locale,
                  referenceSitePath,
                  modelFileSitePath,
                  mode,
                  postCreateHandler);
          } else {
              newFileName = A_CmsResourceCollector.createResourceForCollector(
                  cms,
                  newLink,
                  locale,
                  referenceSitePath,
                  modelFileSitePath,
                  mode,
                  postCreateHandler);
          }
          return newFileName;
      }