Klasse PackageTreeWriter


Class to generate Tree page for a package.

The name of the file generated is “package-tree.html” and it is generated in the respective package directory.

  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • generate

      public static void generate(HtmlConfiguration configuration, PackageElement pkg, boolean noDeprecated) throws DocFileIOException
      Construct a PackageTreeWriter object and then use it to generate the package tree page.
      Parameter:
      configuration - the configuration for this run.
      pkg - Package for which tree file is to be generated.
      noDeprecated - If true, do not generate any information for deprecated classes or interfaces.
      Löst aus:
      DocFileIOException - if there is a problem generating the package tree page
    • generatePackageTreeFile

      Generate a separate tree file.
      Löst aus:
      DocFileIOException - if there is a problem generating the package tree file
    • getPackageTreeHeader

      Get the package tree header.
      Gibt zurück:
      the package tree header
    • getNavBar

      protected Navigation getNavBar(Navigation.PageMode pageMode, Element element)
      Beschreibung aus Klasse kopiert: HtmlDocletWriter
      Returns a basic navigation bar for a kind of page and element.
      Setzt außer Kraft:
      getNavBar in Klasse HtmlDocletWriter
      Parameter:
      pageMode - the page mode
      element - the defining element for the navigation bar, or null if none
      Gibt zurück:
      the basic navigation bar
    • addLinkToAllPackages

      protected void addLinkToAllPackages(Content target)
      Add a link to the tree for all the packages.
      Parameter:
      target - the content to which the link will be added