code: public CmsClientSitemapEntry getParentEntry(CmsClientSitemapEntry entry) {
  
          String path = entry.getSitePath();
          String parentPath = CmsResource.getParentFolder(path);
          if (parentPath == null) {
              return null;
          }
          return getEntry(parentPath);
      }
docs: Returns the parent entry of a sitemap entry, or null if it is the root entry.<p>
  
  @param entry a sitemap entry
  
  @return the parent entry or null