Class AnnotationTypeRequiredMemberWriterImpl
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractMemberWriter
-
- gw.gosudoc.com.sun.tools.doclets.formats.html.AnnotationTypeRequiredMemberWriterImpl
-
- All Implemented Interfaces:
AnnotationTypeRequiredMemberWriter,MemberSummaryWriter
- Direct Known Subclasses:
AnnotationTypeOptionalMemberWriterImpl
@Deprecated public class AnnotationTypeRequiredMemberWriterImpl extends AbstractMemberWriter implements AnnotationTypeRequiredMemberWriter, MemberSummaryWriter
Deprecated.Writes annotation type required member 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.
- Author:
- Jamie Ho, Bhavesh Patel (Modified)
-
-
Field Summary
-
Fields inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractMemberWriter
classdoc, configuration, methodTypes, nodepr, printedSummaryHeader, typeMap, utils, writer
-
-
Constructor Summary
Constructors Constructor Description AnnotationTypeRequiredMemberWriterImpl(SubWriterHolderWriter writer, AnnotationTypeDoc annotationType)Deprecated.Construct a new AnnotationTypeRequiredMemberWriterImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddAnnotationDetailsMarker(Content memberDetails)Deprecated.Add the annotation type details marker.voidaddAnnotationDetailsTreeHeader(ClassDoc classDoc, Content memberDetailsTree)Deprecated.Add the annotation type details tree header.voidaddComments(MemberDoc member, Content annotationDocTree)Deprecated.Add the comments for the given member.voidaddDeprecated(MemberDoc member, Content annotationDocTree)Deprecated.Add the deprecated output for the given member.voidaddInheritedSummaryAnchor(ClassDoc cd, Content inheritedTree)Deprecated.Add the anchor for the inherited summary section of the member.voidaddInheritedSummaryLabel(ClassDoc cd, Content inheritedTree)Deprecated.Add inherited summary lable for the member.protected voidaddInheritedSummaryLink(ClassDoc cd, ProgramElementDoc member, Content linksTree)Deprecated.Add the inherited summary link for the member.voidaddMemberTree(Content memberSummaryTree, Content memberTree)Deprecated.Add the member tree to the member summary tree.protected voidaddNavDetailLink(boolean link, Content liNav)Deprecated.Add the navigation detail link.voidaddSummaryAnchor(ClassDoc cd, Content memberTree)Deprecated.Add the anchor for the summary section of the member.voidaddSummaryLabel(Content memberTree)Deprecated.Add the summary label for the member.protected voidaddSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member, Content tdSummary)Deprecated.Add the summary link for the member.protected voidaddSummaryType(ProgramElementDoc member, Content tdSummaryType)Deprecated.Add the summary type for the member.voidaddTags(MemberDoc member, Content annotationDocTree)Deprecated.Add the tags for the given member.voidclose()Deprecated.Close the writer.ContentgetAnnotationDetails(Content annotationDetailsTree)Deprecated.Get the annotation type details tree.ContentgetAnnotationDoc(Content annotationDocTree, boolean isLastContent)Deprecated.Get the annotation type documentation.ContentgetAnnotationDocTreeHeader(MemberDoc member, Content annotationDetailsTree)Deprecated.Get the annotation type documentation tree header.ContentgetCaption()Deprecated.Get the caption for the member summary table.protected ContentgetDeprecatedLink(ProgramElementDoc member)Deprecated.Get the deprecated link.ContentgetMemberSummaryHeader(ClassDoc classDoc, Content memberSummaryTree)Deprecated.Get the member summary header for the given class.ContentgetMemberTreeHeader()Deprecated.Add the annotation type member tree header.protected ContentgetNavSummaryLink(ClassDoc cd, boolean link)Deprecated.Get the navigation summary link.ContentgetSignature(MemberDoc member)Deprecated.Get the signature for the given member.String[]getSummaryTableHeader(ProgramElementDoc member)Deprecated.Get the summary table header for the member.StringgetTableSummary()Deprecated.Get the summary for the member summary table.-
Methods inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractMemberWriter
addComment, addDeprecatedAPI, addDeprecatedInfo, addInheritedMemberSummary, addMemberSummary, addModifierAndType, addModifiers, addName, addNavDetailLink, addNavSummaryLink, addSummaryLink, addUseInfo, eligibleMembers, getHead, getInheritedSummaryHeader, getInheritedSummaryLinksTree, getMemberTree, getMemberTree, getSummaryTableTree, isInherited, makeSpace, modifierString, name, serialWarning, setSummaryColumnStyle, showTabs, typeString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.gosudoc.com.sun.tools.doclets.internal.toolkit.MemberSummaryWriter
addInheritedMemberSummary, addMemberSummary, getInheritedSummaryHeader, getInheritedSummaryLinksTree, getMemberTree, getSummaryTableTree
-
-
-
-
Constructor Detail
-
AnnotationTypeRequiredMemberWriterImpl
public AnnotationTypeRequiredMemberWriterImpl(SubWriterHolderWriter writer, AnnotationTypeDoc annotationType)
Deprecated.Construct a new AnnotationTypeRequiredMemberWriterImpl.- Parameters:
writer- the writer that will write the output.annotationType- the AnnotationType that holds this member.
-
-
Method Detail
-
getMemberSummaryHeader
public Content getMemberSummaryHeader(ClassDoc classDoc, Content memberSummaryTree)
Deprecated.Get the member summary header for the given class.- Specified by:
getMemberSummaryHeaderin interfaceMemberSummaryWriter- Parameters:
classDoc- the class the summary belongs tomemberSummaryTree- 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:
getMemberTreeHeaderin interfaceAnnotationTypeRequiredMemberWriter- 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:
addMemberTreein interfaceMemberSummaryWriter- Parameters:
memberSummaryTree- the content tree representing the member summarymemberTree- the content tree representing the member
-
addAnnotationDetailsMarker
public void addAnnotationDetailsMarker(Content memberDetails)
Deprecated.Add the annotation type details marker.- Specified by:
addAnnotationDetailsMarkerin interfaceAnnotationTypeRequiredMemberWriter- Parameters:
memberDetails- the content tree representing details marker
-
addAnnotationDetailsTreeHeader
public void addAnnotationDetailsTreeHeader(ClassDoc classDoc, Content memberDetailsTree)
Deprecated.Add the annotation type details tree header.- Specified by:
addAnnotationDetailsTreeHeaderin interfaceAnnotationTypeRequiredMemberWriter- Parameters:
classDoc- the annotation type being documentedmemberDetailsTree- the content tree representing member details
-
getAnnotationDocTreeHeader
public Content getAnnotationDocTreeHeader(MemberDoc member, Content annotationDetailsTree)
Deprecated.Get the annotation type documentation tree header.- Specified by:
getAnnotationDocTreeHeaderin interfaceAnnotationTypeRequiredMemberWriter- Parameters:
member- the annotation type being documentedannotationDetailsTree- 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:
getSignaturein interfaceAnnotationTypeRequiredMemberWriter- 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:
addDeprecatedin interfaceAnnotationTypeRequiredMemberWriter- Parameters:
member- the member being documentedannotationDocTree- 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:
addCommentsin interfaceAnnotationTypeRequiredMemberWriter- Parameters:
member- the member being documentedannotationDocTree- 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:
addTagsin interfaceAnnotationTypeRequiredMemberWriter- Parameters:
member- the member being documentedannotationDocTree- 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:
getAnnotationDetailsin interfaceAnnotationTypeRequiredMemberWriter- 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:
getAnnotationDocin interfaceAnnotationTypeRequiredMemberWriter- Parameters:
annotationDocTree- the content tree representing annotation type documentationisLastContent- true if the content to be added is the last content- Returns:
- content tree for the annotation type documentation
-
close
public void close() throws IOExceptionDeprecated.Close the writer.- Specified by:
closein interfaceAnnotationTypeRequiredMemberWriter- Specified by:
closein interfaceMemberSummaryWriter- Throws:
IOException
-
addSummaryLabel
public void addSummaryLabel(Content memberTree)
Deprecated.Add the summary label for the member.- Specified by:
addSummaryLabelin classAbstractMemberWriter- 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:
getTableSummaryin classAbstractMemberWriter- Returns:
- a string for the table summary
-
getCaption
public Content getCaption()
Deprecated.Get the caption for the member summary table.- Specified by:
getCaptionin classAbstractMemberWriter- Returns:
- a string for the table caption
-
getSummaryTableHeader
public String[] getSummaryTableHeader(ProgramElementDoc member)
Deprecated.Get the summary table header for the member.- Specified by:
getSummaryTableHeaderin classAbstractMemberWriter- 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:
addSummaryAnchorin classAbstractMemberWriter- Parameters:
cd- the class doc to be documentedmemberTree- 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:
addInheritedSummaryAnchorin classAbstractMemberWriter- Parameters:
cd- the class doc to be documentedinheritedTree- 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:
addInheritedSummaryLabelin classAbstractMemberWriter- Parameters:
cd- the class doc to which to link toinheritedTree- 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:
addSummaryLinkin classAbstractMemberWriter- Parameters:
context- the id of the context where the link will be printedcd- the class doc to be documentedmember- the member to be documentedtdSummary- 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:
addInheritedSummaryLinkin classAbstractMemberWriter- Parameters:
cd- the class doc to be documentedmember- the member to be documentedlinksTree- 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:
addSummaryTypein classAbstractMemberWriter- Parameters:
member- the member to be documentedtdSummaryType- the content tree to which the type will be added
-
getDeprecatedLink
protected Content getDeprecatedLink(ProgramElementDoc member)
Deprecated.Get the deprecated link.- Specified by:
getDeprecatedLinkin classAbstractMemberWriter- 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:
getNavSummaryLinkin classAbstractMemberWriter- Parameters:
cd- the class doc to be documentedlink- 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:
addNavDetailLinkin classAbstractMemberWriter- Parameters:
link- true if its a link else the label to be printedliNav- the content tree to which the navigation detail link will be added
-
-