langtools/src/share/classes/com/sun/tools/doclets/formats/html/AnnotationTypeRequiredMemberWriterImpl.java
equal
deleted
inserted
replaced
32 |
32 |
33 /** |
33 /** |
34 * Writes annotation type required member documentation in HTML format. |
34 * Writes annotation type required member documentation in HTML format. |
35 * |
35 * |
36 * @author Jamie Ho |
36 * @author Jamie Ho |
|
37 * @author Bhavesh Patel (Modified) |
37 */ |
38 */ |
38 public class AnnotationTypeRequiredMemberWriterImpl extends AbstractMemberWriter |
39 public class AnnotationTypeRequiredMemberWriterImpl extends AbstractMemberWriter |
39 implements AnnotationTypeRequiredMemberWriter, MemberSummaryWriter { |
40 implements AnnotationTypeRequiredMemberWriter, MemberSummaryWriter { |
40 |
41 |
41 /** |
42 /** |
176 } |
177 } |
177 |
178 |
178 /** |
179 /** |
179 * {@inheritDoc} |
180 * {@inheritDoc} |
180 */ |
181 */ |
181 public void printSummaryLabel(ClassDoc cd) { |
182 public void printSummaryLabel() { |
182 writer.strongText("doclet.Annotation_Type_Required_Member_Summary"); |
183 writer.printText("doclet.Annotation_Type_Required_Member_Summary"); |
|
184 } |
|
185 |
|
186 /** |
|
187 * {@inheritDoc} |
|
188 */ |
|
189 public void printTableSummary() { |
|
190 writer.tableIndexSummary(configuration().getText("doclet.Member_Table_Summary", |
|
191 configuration().getText("doclet.Annotation_Type_Required_Member_Summary"), |
|
192 configuration().getText("doclet.annotation_type_required_members"))); |
|
193 } |
|
194 |
|
195 public void printSummaryTableHeader(ProgramElementDoc member) { |
|
196 String[] header = new String[] { |
|
197 writer.getModifierTypeHeader(), |
|
198 configuration().getText("doclet.0_and_1", |
|
199 configuration().getText("doclet.Annotation_Type_Required_Member"), |
|
200 configuration().getText("doclet.Description")) |
|
201 }; |
|
202 writer.summaryTableHeader(header, "col"); |
183 } |
203 } |
184 |
204 |
185 /** |
205 /** |
186 * {@inheritDoc} |
206 * {@inheritDoc} |
187 */ |
207 */ |