Class AnnotationTypeFieldWriterImpl

java.lang.Object
gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractMemberWriter
gw.gosudoc.com.sun.tools.doclets.formats.html.AnnotationTypeFieldWriterImpl
All Implemented Interfaces:
AnnotationTypeFieldWriter, MemberSummaryWriter

@Deprecated public class AnnotationTypeFieldWriterImpl extends AbstractMemberWriter implements AnnotationTypeFieldWriter, MemberSummaryWriter
Deprecated.
Writes annotation type field documentation in HTML format.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

  • Constructor Details

    • AnnotationTypeFieldWriterImpl

      public AnnotationTypeFieldWriterImpl(SubWriterHolderWriter writer, AnnotationTypeDoc annotationType)
      Deprecated.
      Construct a new AnnotationTypeFieldWriterImpl.
      Parameters:
      writer - the writer that will write the output.
      annotationType - the AnnotationType that holds this member.
  • Method Details

    • getMemberSummaryHeader

      public Content getMemberSummaryHeader(ClassDoc classDoc, Content memberSummaryTree)
      Deprecated.
      Get the member summary header for the given class.
      Specified by:
      getMemberSummaryHeader in interface MemberSummaryWriter
      Parameters:
      classDoc - the class the summary belongs to
      memberSummaryTree - the content tree to which the member summary will be added
      Returns:
      a content tree for the member summary header
    • getMemberTreeHeader

      public Content getMemberTreeHeader()
      Deprecated.
      Add the annotation type member tree header.
      Specified by:
      getMemberTreeHeader in interface AnnotationTypeFieldWriter
      Returns:
      content tree for the member tree header
    • addMemberTree

      public void addMemberTree(Content memberSummaryTree, Content memberTree)
      Deprecated.
      Add the member tree to the member summary tree.
      Specified by:
      addMemberTree in interface MemberSummaryWriter
      Parameters:
      memberSummaryTree - the content tree representing the member summary
      memberTree - the content tree representing the member
    • addAnnotationFieldDetailsMarker

      public void addAnnotationFieldDetailsMarker(Content memberDetails)
      Deprecated.
      Add the annotation type field details marker.
      Specified by:
      addAnnotationFieldDetailsMarker in interface AnnotationTypeFieldWriter
      Parameters:
      memberDetails - the content tree representing field details marker
    • addAnnotationDetailsTreeHeader

      public void addAnnotationDetailsTreeHeader(ClassDoc classDoc, Content memberDetailsTree)
      Deprecated.
      Add the annotation type details tree header.
      Specified by:
      addAnnotationDetailsTreeHeader in interface AnnotationTypeFieldWriter
      Parameters:
      classDoc - the annotation type being documented
      memberDetailsTree - the content tree representing member details
    • getAnnotationDocTreeHeader

      public Content getAnnotationDocTreeHeader(MemberDoc member, Content annotationDetailsTree)
      Deprecated.
      Get the annotation type documentation tree header.
      Specified by:
      getAnnotationDocTreeHeader in interface AnnotationTypeFieldWriter
      Parameters:
      member - the annotation type being documented
      annotationDetailsTree - the content tree representing annotation type details
      Returns:
      content tree for the annotation type documentation header
    • getSignature

      public Content getSignature(MemberDoc member)
      Deprecated.
      Get the signature for the given member.
      Specified by:
      getSignature in interface AnnotationTypeFieldWriter
      Parameters:
      member - the member being documented
      Returns:
      content tree for the annotation type signature
    • addDeprecated

      public void addDeprecated(MemberDoc member, Content annotationDocTree)
      Deprecated.
      Add the deprecated output for the given member.
      Specified by:
      addDeprecated in interface AnnotationTypeFieldWriter
      Parameters:
      member - the member being documented
      annotationDocTree - content tree to which the deprecated information will be added
    • addComments

      public void addComments(MemberDoc member, Content annotationDocTree)
      Deprecated.
      Add the comments for the given member.
      Specified by:
      addComments in interface AnnotationTypeFieldWriter
      Parameters:
      member - the member being documented
      annotationDocTree - the content tree to which the comments will be added
    • addTags

      public void addTags(MemberDoc member, Content annotationDocTree)
      Deprecated.
      Add the tags for the given member.
      Specified by:
      addTags in interface AnnotationTypeFieldWriter
      Parameters:
      member - the member being documented
      annotationDocTree - the content tree to which the tags will be added
    • getAnnotationDetails

      public Content getAnnotationDetails(Content annotationDetailsTree)
      Deprecated.
      Get the annotation type details tree.
      Specified by:
      getAnnotationDetails in interface AnnotationTypeFieldWriter
      Parameters:
      annotationDetailsTree - the content tree representing annotation type details
      Returns:
      content tree for the annotation type details
    • getAnnotationDoc

      public Content getAnnotationDoc(Content annotationDocTree, boolean isLastContent)
      Deprecated.
      Get the annotation type documentation.
      Specified by:
      getAnnotationDoc in interface AnnotationTypeFieldWriter
      Parameters:
      annotationDocTree - the content tree representing annotation type documentation
      isLastContent - true if the content to be added is the last content
      Returns:
      content tree for the annotation type documentation
    • close

      public void close() throws IOException
      Deprecated.
      Close the writer.
      Specified by:
      close in interface AnnotationTypeFieldWriter
      Specified by:
      close in interface MemberSummaryWriter
      Throws:
      IOException
    • addSummaryLabel

      public void addSummaryLabel(Content memberTree)
      Deprecated.
      Add the summary label for the member.
      Specified by:
      addSummaryLabel in class AbstractMemberWriter
      Parameters:
      memberTree - the content tree to which the label will be added
    • getTableSummary

      public String getTableSummary()
      Deprecated.
      Get the summary for the member summary table.
      Specified by:
      getTableSummary in class AbstractMemberWriter
      Returns:
      a string for the table summary
    • getCaption

      public Content getCaption()
      Deprecated.
      Get the caption for the member summary table.
      Specified by:
      getCaption in class AbstractMemberWriter
      Returns:
      a string for the table caption
    • getSummaryTableHeader

      public String[] getSummaryTableHeader(ProgramElementDoc member)
      Deprecated.
      Get the summary table header for the member.
      Specified by:
      getSummaryTableHeader in class AbstractMemberWriter
      Parameters:
      member - the member to be documented
      Returns:
      the summary table header
    • addSummaryAnchor

      public void addSummaryAnchor(ClassDoc cd, Content memberTree)
      Deprecated.
      Add the anchor for the summary section of the member.
      Specified by:
      addSummaryAnchor in class AbstractMemberWriter
      Parameters:
      cd - the class doc to be documented
      memberTree - the content tree to which the summary anchor will be added
    • addInheritedSummaryAnchor

      public void addInheritedSummaryAnchor(ClassDoc cd, Content inheritedTree)
      Deprecated.
      Add the anchor for the inherited summary section of the member.
      Specified by:
      addInheritedSummaryAnchor in class AbstractMemberWriter
      Parameters:
      cd - the class doc to be documented
      inheritedTree - the content tree to which the inherited summary anchor will be added
    • addInheritedSummaryLabel

      public void addInheritedSummaryLabel(ClassDoc cd, Content inheritedTree)
      Deprecated.
      Add inherited summary lable for the member.
      Specified by:
      addInheritedSummaryLabel in class AbstractMemberWriter
      Parameters:
      cd - the class doc to which to link to
      inheritedTree - the content tree to which the inherited summary label will be added
    • addSummaryLink

      protected void addSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member, Content tdSummary)
      Deprecated.
      Add the summary link for the member.
      Specified by:
      addSummaryLink in class AbstractMemberWriter
      Parameters:
      context - the id of the context where the link will be printed
      cd - the class doc to be documented
      member - the member to be documented
      tdSummary - the content tree to which the summary link will be added
    • addInheritedSummaryLink

      protected void addInheritedSummaryLink(ClassDoc cd, ProgramElementDoc member, Content linksTree)
      Deprecated.
      Add the inherited summary link for the member.
      Specified by:
      addInheritedSummaryLink in class AbstractMemberWriter
      Parameters:
      cd - the class doc to be documented
      member - the member to be documented
      linksTree - the content tree to which the inherited summary link will be added
    • addSummaryType

      protected void addSummaryType(ProgramElementDoc member, Content tdSummaryType)
      Deprecated.
      Add the summary type for the member.
      Specified by:
      addSummaryType in class AbstractMemberWriter
      Parameters:
      member - the member to be documented
      tdSummaryType - the content tree to which the type will be added
    • getDeprecatedLink

      protected Content getDeprecatedLink(ProgramElementDoc member)
      Deprecated.
      Get the deprecated link.
      Specified by:
      getDeprecatedLink in class AbstractMemberWriter
      Parameters:
      member - the member being linked to
      Returns:
      a content tree representing the link
    • getNavSummaryLink

      protected Content getNavSummaryLink(ClassDoc cd, boolean link)
      Deprecated.
      Get the navigation summary link.
      Specified by:
      getNavSummaryLink in class AbstractMemberWriter
      Parameters:
      cd - the class doc to be documented
      link - true if its a link else the label to be printed
      Returns:
      a content tree for the navigation summary link.
    • addNavDetailLink

      protected void addNavDetailLink(boolean link, Content liNav)
      Deprecated.
      Add the navigation detail link.
      Specified by:
      addNavDetailLink in class AbstractMemberWriter
      Parameters:
      link - true if its a link else the label to be printed
      liNav - the content tree to which the navigation detail link will be added
    • getType

      private Type getType(MemberDoc member)
      Deprecated.