Builds documentation for a property.
  • Methodendetails

    • getInstance

      public static PropertyBuilder getInstance(AbstractBuilder.Context context, TypeElement typeElement, PropertyWriter writer)
      Construct a new PropertyBuilder.
      Parameter:
      context - the build context.
      typeElement - the class whose members are being documented.
      writer - the doclet specific writer.
      Gibt zurück:
      the new PropertyBuilder
    • hasMembersToDocument

      public boolean hasMembersToDocument()
      Returns whether or not there are members to document.
      Angegeben von:
      hasMembersToDocument in Klasse AbstractMemberBuilder
      Gibt zurück:
      whether or not there are members to document
    • build

      public void build(Content target) throws DocletException
      Beschreibung aus Klasse kopiert: AbstractMemberBuilder
      Build the documentation.
      Angegeben von:
      build in Klasse AbstractMemberBuilder
      Parameter:
      target - the content into which to add the documentation
      Löst aus:
      DocletException - if there is a problem building the documentation
    • buildPropertyDoc

      protected void buildPropertyDoc(Content detailsList) throws DocletException
      Build the property documentation.
      Parameter:
      detailsList - the content to which the documentation will be added
      Löst aus:
      DocletException - if there is a problem while building the documentation
    • buildSignature

      protected void buildSignature(Content propertyContent)
      Build the signature.
      Parameter:
      propertyContent - the content to which the documentation will be added
    • buildDeprecationInfo

      protected void buildDeprecationInfo(Content propertyContent)
      Build the deprecation information.
      Parameter:
      propertyContent - the content to which the documentation will be added
    • buildPreviewInfo

      protected void buildPreviewInfo(Content propertyContent)
      Build the preview information.
      Parameter:
      propertyContent - the content to which the documentation will be added
    • buildPropertyComments

      protected void buildPropertyComments(Content propertyContent)
      Build the comments for the property.

      Do nothing if BaseOptions.noComment() is set to true.

      Parameter:
      propertyContent - the content to which the documentation will be added
    • buildTagInfo

      protected void buildTagInfo(Content propertyContent)
      Build the tag information.
      Parameter:
      propertyContent - the content to which the documentation will be added
    • getWriter

      Return the property writer for this builder.
      Gibt zurück:
      the property writer for this builder.