Schnittstelle ClassWriter

Alle bekannten Implementierungsklassen:
ClassWriterImpl

public interface ClassWriter
The interface for writing class output.
  • Methodendetails

    • getHeader

      Get the header of the page.
      Parameter:
      header - the header string to write
      Gibt zurück:
      header content that needs to be added to the documentation
    • getClassContentHeader

      Get the class content header.
      Gibt zurück:
      class content header that needs to be added to the documentation
    • addClassTree

      void addClassTree(Content target)
      Add the class inheritance tree documentation.
      Parameter:
      target - the content to which the documentation will be added
    • addParamInfo

      void addParamInfo(Content target)
      Add the type parameter and state component information.
      Parameter:
      target - the content to which the documentation will be added
    • addSuperInterfacesInfo

      Add all superinterfaces if this is an interface.
      Parameter:
      target - the content to which the documentation will be added
    • addImplementedInterfacesInfo

      Add all implemented interfaces if this is a class.
      Parameter:
      target - the content to which the documentation will be added
    • addSubClassInfo

      void addSubClassInfo(Content target)
      Add all the classes that extend this one.
      Parameter:
      target - the content to which the documentation will be added
    • addSubInterfacesInfo

      Add all the interfaces that extend this one.
      Parameter:
      target - the content to which the documentation will be added
    • addInterfaceUsageInfo

      If this is an interface, add all classes that implement this interface.
      Parameter:
      target - the content to which the documentation will be added
    • addFunctionalInterfaceInfo

      If this is an functional interface, display appropriate message.
      Parameter:
      target - the content to which the documentation will be added
    • addNestedClassInfo

      If this is an inner class or interface, add the enclosing class or interface.
      Parameter:
      target - the content to which the documentation will be added
    • getClassInfo

      Gibt the class information zurück.
      Parameter:
      classInfo - the class information
      Gibt zurück:
      the class information
    • addClassDeprecationInfo

      If this class is deprecated, add the appropriate information.
      Parameter:
      classInfo - the content to which the documentation will be added
    • addClassSignature

      void addClassSignature(Content classInfo)
      Add the signature of the current class content.
      Parameter:
      classInfo - the class content to which the signature will be added
    • addClassDescription

      void addClassDescription(Content classInfo)
      Build the class description.
      Parameter:
      classInfo - the content to which the documentation will be added
    • addClassTagInfo

      void addClassTagInfo(Content classInfo)
      Add the tag information for the current class.
      Parameter:
      classInfo - the content to which the tag information will be added
    • getSummariesList

      Returns a list to be used for the list of summaries for members of a given kind.
      Gibt zurück:
      a list to be used for the list of summaries for members of a given kind
    • getSummariesListItem

      Returns an item for the list of summaries for members of a given kind.
      Parameter:
      content - content for the item
      Gibt zurück:
      an item for the list of summaries for members of a given kind
    • getDetailsList

      Returns a list to be used for the list of details for members of a given kind.
      Gibt zurück:
      a list to be used for the list of details for members of a given kind
    • getDetailsListItem

      Returns an item for the list of details for members of a given kind.
      Parameter:
      content - content for the item
      Gibt zurück:
      an item for the list of details for members of a given kind
    • addClassContent

      void addClassContent(Content classContent)
      Add the class content.
      Parameter:
      classContent - the class content which will be added to the content
    • addFooter

      void addFooter()
      Add the footer of the page.
    • printDocument

      Print the document.
      Parameter:
      content - the content that will be printed as a document
      Löst aus:
      DocFileIOException - if there is a problem while writing the document
    • getTypeElement

      Return the TypeElement being documented.
      Gibt zurück:
      the TypeElement being documented.
    • getMemberSummary

      Gibt the member summary zurück.
      Parameter:
      memberContent - the content used to build the summary
      Gibt zurück:
      the member summary
    • getMemberDetails

      Gibt the member details zurück.
      Parameter:
      memberContent - the content used to generate the member details
      Gibt zurück:
      the member details