Get the summary table tree for the given class.

@param tElement the class for which the summary table is generated
@param tableContents list of contents to be displayed in the summary table
@return a content tree for the summary table
969573
public Content getSummaryTableTree(TypeElement tElement, List<Content> tableContents) {
        return writer.getSummaryTableTree(this, tElement, tableContents, showTabs());
    }
196927
public void setSummaryColumnStyleAndScope(HtmlTree thTree) {
        thTree.addStyle(HtmlStyle.colSecond);
        thTree.addAttr(HtmlAttr.SCOPE, "row");
    }
699620
public Content getSerializedContent(Content serializedTreeContent) {
        HtmlTree divContent = HtmlTree.DIV(HtmlStyle.serializedFormContainer,
                serializedTreeContent);
        if (configuration.allowTag(HtmlTag.MAIN)) {
            mainTree.addContent(divContent);
            return mainTree;
        } else {
            return divContent;
        }
    }
182555
public void buildClassSummary(XMLNode node, Content packageSummaryContentTree) {
        String classTableSummary =
                configuration.getText("doclet.Member_Table_Summary",
                configuration.getText("doclet.Class_Summary"),
                configuration.getText("doclet.classes"));
        String[] classTableHeader = new String[] {
            configuration.getText("doclet.Class"),
            configuration.getText("doclet.Description")
        };
        ClassDoc[] classes = pkg.ordinaryClasses();
        if (classes.length > 0) {
            profileWriter.addClassesSummary(
                    classes,
                    configuration.getText("doclet.Class_Summary"),
                    classTableSummary, classTableHeader, packageSummaryContentTree);
        }
    }
115783
public Content getSummaryTableHeader(String[] header, String scope) {
        Content tr = new HtmlTree(HtmlTag.TR);
        int size = header.length;
        Content tableHeader;
        if (size == 1) {
            tableHeader = new StringContent(header[0]);
            tr.addContent(HtmlTree.TH(HtmlStyle.colOne, scope, tableHeader));
            return tr;
        }
        for (int i = 0; i < size; i++) {
            tableHeader = new StringContent(header[i]);
            if(i == 0)
                tr.addContent(HtmlTree.TH(HtmlStyle.colFirst, scope, tableHeader));
            else if(i == (size - 1))
                tr.addContent(HtmlTree.TH(HtmlStyle.colLast, scope, tableHeader));
            else
                tr.addContent(HtmlTree.TH(scope, tableHeader));
        }
        return tr;
    }
898974
public static void getHTMLTableForASingleJournal(QJMStatus status,
      String journalName, StringBuilder sb) {
    List<StatsDescriptor> stats = status.stats.get(journalName);
    if (stats == null) {
      return;
    }
    Set<String> statsNames = status.statNames;

    // header
    sb.append("<table border=1 align=\"right\" cellpadding=1 "
        + "cellspacing=0 title=\"Journal statistics\">");
    sb.append("<thead><tr><td></td>");
    for (StatsDescriptor sd : stats) {
      sb.append("<td><b>" + sd.journalNode + "</b></td>");
    }
    sb.append("</tr></thead>");

    // contents
    for (String st : statsNames) {
      // for each available stat
      sb.append("<tr><td>" + st + "</td>");
      // for each available node
      for (StatsDescriptor sd : stats) {
        sb.append("<td align=\"right\">" + getValue(sd.statsPerJournal, st)
            + "</td>");
      }
      sb.append("</tr>");
    }
    sb.append("</table>");
  }
591032
private Content getNameColumn(FieldDoc member) {
        Content nameContent = getDocLink(
                LinkInfoImpl.Kind.CONSTANT_SUMMARY, member, member.name(), false);
        Content code = HtmlTree.CODE(nameContent);
        return HtmlTree.TD(code);
    }
77756
function contentStructureTree( $rootNodeID, $classFilter, $maxDepth, $maxNodes, $sortArray, $fetchHidden, $unfoldNodeID )
    {
        $contentTree = eZContentStructureTreeOperator::initContentStructureTree( $rootNodeID, $fetchHidden, $classFilter );

        // if root node is invisible then no point to fetch children
        //if ( count( $contentTree ) == 0 )
        //    return $contentTree;

        if ( $contentTree === false)
            return $contentTree;

        $nodesLeft = $maxNodes - 1;
        $depthLeft = $maxDepth - 1;

        eZContentStructureTreeOperator::children( $contentTree, $classFilter, $depthLeft, $nodesLeft, $sortArray, $fetchHidden, $unfoldNodeID );

        return $contentTree;
    }
215238
public Content getFieldsContentHeader(boolean isLastContent) {
        HtmlTree li = new HtmlTree(HtmlTag.LI);
        if (isLastContent)
            li.addStyle(HtmlStyle.blockListLast);
        else
            li.addStyle(HtmlStyle.blockList);
        return li;
    }
1080049
public static HtmlTree CODE(Content body) {
        HtmlTree htmltree = new HtmlTree(HtmlTag.CODE, nullCheck(body));
        return htmltree;
    }
913224
public TreeNode<T> findByContent(T content) {
		Optional<TreeNode<T>> opt = TreeStream.breadthFirst(treeDef(), this).filter(node -> node.getContent().equals(content)).findFirst();
		if (opt.isPresent()) {
			return opt.get();
		} else {
			throw new IllegalArgumentException(this.toString() + " has no child with content " + content);
		}
	}
715228
public void buildAnnotationTypeSummary(XMLNode node, Content packageSummaryContentTree) {
        String annotationtypeTableSummary =
                configuration.getText("doclet.Member_Table_Summary",
                configuration.getText("doclet.Annotation_Types_Summary"),
                configuration.getText("doclet.annotationtypes"));
        String[] annotationtypeTableHeader = new String[] {
            configuration.getText("doclet.AnnotationType"),
            configuration.getText("doclet.Description")
        };
        ClassDoc[] annotationTypes = pkg.annotationTypes();
        if (annotationTypes.length > 0) {
            profileWriter.addClassesSummary(
                    annotationTypes,
                    configuration.getText("doclet.Annotation_Types_Summary"),
                    annotationtypeTableSummary, annotationtypeTableHeader,
                    packageSummaryContentTree);
        }
    }
708447
function makeTextContent(textContent) {
  // NOTE: Null values reduce hidden classes.
  return {
    type: 'TEXT_CONTENT',
    content: textContent,
    fromIndex: null,
    fromNode: null,
    toIndex: null,
    afterNode: null
  };
}
834642
public void buildInterfaceSummary(XMLNode node, Content summaryContentTree) {
        String interfaceTableSummary =
                configuration.getText("doclet.Member_Table_Summary",
                configuration.getText("doclet.Interface_Summary"),
                configuration.getText("doclet.interfaces"));
        String[] interfaceTableHeader = new String[] {
            configuration.getText("doclet.Interface"),
            configuration.getText("doclet.Description")
        };
        ClassDoc[] interfaces =
                packageDoc.isIncluded()
                        ? packageDoc.interfaces()
                        : configuration.classDocCatalog.interfaces(
                                Util.getPackageName(packageDoc));
        if (interfaces.length > 0) {
            profilePackageWriter.addClassesSummary(
                    interfaces,
                    configuration.getText("doclet.Interface_Summary"),
                    interfaceTableSummary, interfaceTableHeader, summaryContentTree);
        }
    }
1078342
private ContentElement parseContentElement(SpanManager sm,
			ContentElementParsingParameters cepp, Span lineSpan)
	{
		LinkedList<Span> lineSpans = new LinkedList<Span>();
		lineSpans.add(lineSpan);
		return parseContentElement(sm, cepp, lineSpans, new ContentElement());
	}
508457
public Content getSummaryTableHeader(List<String> header, String scope) {
        Content tr = new HtmlTree(HtmlTag.TR);
        final int size = header.size();
        Content tableHeader;
        if (size == 2) {
            tableHeader = new StringContent(header.get(0));
            tr.addContent(HtmlTree.TH(HtmlStyle.colFirst, scope, tableHeader));
            tableHeader = new StringContent(header.get(1));
            tr.addContent(HtmlTree.TH(HtmlStyle.colLast, scope, tableHeader));
            return tr;
        }
        for (int i = 0; i < size; i++) {
            tableHeader = new StringContent(header.get(i));
            if (i == 0)
                tr.addContent(HtmlTree.TH(HtmlStyle.colFirst, scope, tableHeader));
            else if (i == 1)
                tr.addContent(HtmlTree.TH(HtmlStyle.colSecond, scope, tableHeader));
            else if (i == (size - 1))
                tr.addContent(HtmlTree.TH(HtmlStyle.colLast, scope, tableHeader));
            else
                tr.addContent(HtmlTree.TH(scope, tableHeader));
        }
        return tr;
    }
11952
protected Content getClassName(Content classStr) {
        Content table = HtmlTree.TABLE(HtmlStyle.constantsSummary, 0, 3, 0, constantsTableSummary,
                getTableCaption(classStr));
        table.addContent(getSummaryTableHeader(constantsTableHeader, "col"));
        return table;
    }