Klasse ClassUseWriter


Generate class usage information.
  • Konstruktordetails

  • Methodendetails

    • generate

      public static void generate(HtmlConfiguration configuration, ClassTree classTree) throws DocFileIOException
      Write out class use pages.
      Parameter:
      configuration - the configuration for this doclet
      classTree - the class tree hierarchy
      Löst aus:
      DocFileIOException - if there is an error while generating the documentation
    • generate

      public static void generate(HtmlConfiguration configuration, ClassUseMapper mapper, TypeElement typeElement) throws DocFileIOException
      Generate a class page.
      Löst aus:
      DocFileIOException - if there is a problem while generating the documentation
    • generateClassUseFile

      protected void generateClassUseFile() throws DocFileIOException
      Generate the class use elements.
      Löst aus:
      DocFileIOException - if there is a problem while generating the documentation
    • addClassUse

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

      protected void addPackageList(Content content)
      Add the packages elements that use the given class.
      Parameter:
      content - the content to which the packages elements will be added
    • addPackageAnnotationList

      protected void addPackageAnnotationList(Content content)
      Add the package annotation elements.
      Parameter:
      content - the content to which the package annotation elements will be added
    • addClassList

      protected void addClassList(Content content)
      Add the class elements that use the given class.
      Parameter:
      content - the content to which the class elements will be added
    • addPackageUse

      protected void addPackageUse(PackageElement pkg, Table<?> table)
      Add the package use information.
      Parameter:
      pkg - the package that uses the given class
      table - the table to which the package use information will be added
    • addClassUse

      protected void addClassUse(PackageElement pkg, Content content)
      Add the class use information.
      Parameter:
      pkg - the package that uses the given class
      content - the content to which the class use information will be added
    • getClassUseHeader

      Get the header for the class use listing.
      Gibt zurück:
      the class use 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