< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/PackageSummaryWriter.java

Print this page

        

@@ -23,11 +23,10 @@
  * questions.
  */
 
 package jdk.javadoc.internal.doclets.toolkit;
 
-import java.util.List;
 import java.util.SortedSet;
 
 import javax.lang.model.element.TypeElement;
 
 import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException;

@@ -67,20 +66,62 @@
      * @return a content tree with the package summary header
      */
     public abstract Content getSummaryHeader();
 
     /**
+     * Adds the table of interfaces to the documentation tree.
+     *
+     * @param interfaces the interfaces to document.
+     * @param summaryContentTree the content tree to which the summaries will be added
+     */
+    public abstract void addInterfaceSummary(SortedSet<TypeElement> interfaces,
+            Content summaryContentTree);
+
+    /**
      * Adds the table of classes to the documentation tree.
      *
-     * @param classes the array of classes to document.
-     * @param label the label for this table.
-     * @param tableSummary the summary string for the table
-     * @param tableHeader array of table headers
+     * @param classes the classes to document.
+     * @param summaryContentTree the content tree to which the summaries will be added
+     */
+    public abstract void addClassSummary(SortedSet<TypeElement> classes,
+            Content summaryContentTree);
+
+    /**
+     * Adds the table of enums to the documentation tree.
+     *
+     * @param enums the enums to document.
+     * @param summaryContentTree the content tree to which the summaries will be added
+     */
+    public abstract void addEnumSummary(SortedSet<TypeElement> enums,
+            Content summaryContentTree);
+
+    /**
+     * Adds the table of exceptions to the documentation tree.
+     *
+     * @param exceptions the exceptions to document.
+     * @param summaryContentTree the content tree to which the summaries will be added
+     */
+    public abstract void addExceptionSummary(SortedSet<TypeElement> exceptions,
+            Content summaryContentTree);
+
+    /**
+     * Adds the table of errors to the documentation tree.
+     *
+     * @param errors the errors to document.
+     * @param summaryContentTree the content tree to which the summaries will be added
+     */
+    public abstract void addErrorSummary(SortedSet<TypeElement> errors,
+            Content summaryContentTree);
+
+    /**
+     * Adds the table of annotation types to the documentation tree.
+     *
+     * @param annoTypes the annotation types to document.
      * @param summaryContentTree the content tree to which the summaries will be added
      */
-    public abstract void addClassesSummary(SortedSet<TypeElement> classes, String label,
-            String tableSummary, List<String> tableHeader, Content summaryContentTree);
+    public abstract void addAnnotationTypeSummary(SortedSet<TypeElement> annoTypes,
+            Content summaryContentTree);
 
     /**
      * Adds the package description from the "packages.html" file to the documentation
      * tree.
      *
< prev index next >