public class TreeWriter extends AbstractTreeWriter
Generate Class Hierarchy page for all the Classes in this run.

Use ClassTree for building the Tree. The name of the generated file is “overview-tree.html” and it is generated in the current or the destination directory.

  • Felddetails

  • Konstruktordetails

    • TreeWriter

      public TreeWriter(HtmlConfiguration configuration, DocPath filename, ClassTree classTree)
      Constructor to construct TreeWriter object.
      Parameter:
      configuration - the current configuration of the doclet.
      filename - String filename
      classTree - the tree being built.
  • Methodendetails

    • generate

      public static void generate(HtmlConfiguration configuration, ClassTree classTree) throws DocFileIOException
      Create a TreeWriter object and use it to generate the “overview-tree.html” file.
      Parameter:
      configuration - the configuration for this doclet
      classTree - the class tree being documented.
      Löst aus:
      DocFileIOException - if there is a problem generating the overview tree page
    • generateTreeFile

      public void generateTreeFile() throws DocFileIOException
      Generate the interface hierarchy and class hierarchy.
      Löst aus:
      DocFileIOException - if there is a problem generating the overview tree page
    • addPackageTreeLinks

      protected void addPackageTreeLinks(Content content)
      Add the links to all the package tree files.
      Parameter:
      content - the content to which the links will be added