121 } |
121 } |
122 |
122 |
123 /** |
123 /** |
124 * {@inheritDoc} |
124 * {@inheritDoc} |
125 */ |
125 */ |
126 protected void addProfilesList(String profileSummary, String profilesTableSummary, |
126 protected void addProfilesList(Content profileSummary, String profilesTableSummary, |
127 Content body) { |
127 Content body) { |
128 Content table = HtmlTree.TABLE(HtmlStyle.overviewSummary, 0, 3, 0, profilesTableSummary, |
128 Content table = HtmlTree.TABLE(HtmlStyle.overviewSummary, 0, 3, 0, profilesTableSummary, |
129 getTableCaption(profileSummary)); |
129 getTableCaption(profileSummary)); |
130 table.addContent(getSummaryTableHeader(profileTableHeader, "col")); |
130 table.addContent(getSummaryTableHeader(profileTableHeader, "col")); |
131 Content tbody = new HtmlTree(HtmlTag.TBODY); |
131 Content tbody = new HtmlTree(HtmlTag.TBODY); |
139 * {@inheritDoc} |
139 * {@inheritDoc} |
140 */ |
140 */ |
141 protected void addPackagesList(PackageDoc[] packages, String text, |
141 protected void addPackagesList(PackageDoc[] packages, String text, |
142 String tableSummary, Content body) { |
142 String tableSummary, Content body) { |
143 Content table = HtmlTree.TABLE(HtmlStyle.overviewSummary, 0, 3, 0, tableSummary, |
143 Content table = HtmlTree.TABLE(HtmlStyle.overviewSummary, 0, 3, 0, tableSummary, |
144 getTableCaption(text)); |
144 getTableCaption(new RawHtml(text))); |
145 table.addContent(getSummaryTableHeader(packageTableHeader, "col")); |
145 table.addContent(getSummaryTableHeader(packageTableHeader, "col")); |
146 Content tbody = new HtmlTree(HtmlTag.TBODY); |
146 Content tbody = new HtmlTree(HtmlTag.TBODY); |
147 addPackagesList(packages, tbody); |
147 addPackagesList(packages, tbody); |
148 table.addContent(tbody); |
148 table.addContent(tbody); |
149 Content div = HtmlTree.DIV(HtmlStyle.contentContainer, table); |
149 Content div = HtmlTree.DIV(HtmlStyle.contentContainer, table); |