Klasse PackageUseWriter


Generate package usage information.
  • Konstruktordetails

    • PackageUseWriter

      public PackageUseWriter(HtmlConfiguration configuration, ClassUseMapper mapper, DocPath filename, PackageElement pkgElement)
      Constructor.
      Parameter:
      configuration - the configuration
      mapper - a mapper to provide details of where elements are used
      filename - the file to be generated
      pkgElement - the package element to be documented
  • Methodendetails

    • generate

      public static void generate(HtmlConfiguration configuration, ClassUseMapper mapper, PackageElement pkgElement) throws DocFileIOException
      Generate a class page.
      Parameter:
      configuration - the current configuration of the doclet.
      mapper - the mapping of the class usage.
      pkgElement - the package being documented.
      Löst aus:
      DocFileIOException - if there is a problem generating the package use page
    • generatePackageUseFile

      protected void generatePackageUseFile() throws DocFileIOException
      Generate the package use list.
      Löst aus:
      DocFileIOException - if there is a problem generating the package use page
    • addPackageUse

      protected void addPackageUse(Content content)
      Add the package use information.
      Parameter:
      content - the content to which the package use information will be added
    • addPackageList

      protected void addPackageList(Content content)
      Add the list of packages that use the given package.
      Parameter:
      content - the content to which the package list will be added
    • addClassList

      protected void addClassList(Content content)
      Add the list of classes that use the given package.
      Parameter:
      content - the content to which the class list will be added
    • 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