code: public void createSitemapSubEntry(final CmsClientSitemapEntry newEntry, CmsUUID parentId, String sitemapType) {
  
          CmsUUID structureId = m_data.getDefaultNewElementInfo().getCopyResourceId();
          newEntry.setResourceTypeName(sitemapType);
          create(newEntry, parentId, m_data.getDefaultNewElementInfo().getId(), structureId, null, true);
      }
docs: Creates a sitemap folder.<p>
  
  @param newEntry the new entry
  @param parentId the entry parent id
  @param sitemapType the resource type for the subsitemap folder