code: 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;
      }
docs: Get summary table header.
  
  @param header the header for the table
  @param scope the scope of the headers
  @return a content tree for the header