code: private void showHeader() throws CmsException {
  
          CmsSitemapUI ui = (CmsSitemapUI)A_CmsUI.get();
          String title = null;
          String description = null;
          String path = null;
          String locale = m_rootLocale.toString();
          CmsObject cms = A_CmsUI.getCmsObject();
          CmsResource targetRes = getRoot();
          if (targetRes.isFolder()) {
              targetRes = cms.readDefaultFile(targetRes, CmsResourceFilter.IGNORE_EXPIRATION);
              if (targetRes == null) {
                  targetRes = getRoot();
              }
          }
          CmsResourceUtil resUtil = new CmsResourceUtil(cms, getRoot());
          title = resUtil.getTitle();
          description = resUtil.getGalleryDescription(A_CmsUI.get().getLocale());
          path = OpenCms.getLinkManager().getServerLink(
              cms,
              cms.getRequestContext().removeSiteRoot(targetRes.getRootPath()));
          String iconClasses = CmsIconUtil.getIconClasses(
              CmsIconUtil.getDisplayType(cms, getRoot()),
              getRoot().getName(),
              false);
          ui.getSitemapExtension().showInfoHeader(title, description, path, locale, iconClasses);
      }
docs: Shows the header for the currently selected sitemap root.<p>
  
  @throws CmsException if something goes wrong