code: private void hideItemContent(Element element) {
  
          List<Element> itemWidget = CmsDomUtil.getElementsByClass(
              org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().itemContainer(),
              element);
          if ((itemWidget != null) && (itemWidget.size() > 0)) {
              itemWidget.get(0).addClassName(I_CmsSitemapLayoutBundle.INSTANCE.sitemapItemCss().contentHide());
          }
      }
docs: Hides the content of list items by setting a specific css class.<p>
  
  @param element the list item element