Class AnnotationTypeRequiredMemberBuilder
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractMemberBuilder
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AnnotationTypeRequiredMemberBuilder
-
- Direct Known Subclasses:
AnnotationTypeOptionalMemberBuilder
@Deprecated public class AnnotationTypeRequiredMemberBuilder extends AbstractMemberBuilder
Deprecated.Builds documentation for required annotation type members.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.
- Since:
- 1.5
- Author:
- Jamie Ho, Bhavesh Patel (Modified)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
AbstractBuilder.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassDocclassDocDeprecated.The annotation type whose members are being documented.protected intcurrentMemberIndexDeprecated.The index of the current member that is being documented at this point in time.protected List<ProgramElementDoc>membersDeprecated.The list of members being documented.protected VisibleMemberMapvisibleMemberMapDeprecated.The visible members for the given class.protected AnnotationTypeRequiredMemberWriterwriterDeprecated.The writer to output the member documentation.-
Fields inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
configuration, containingPackagesSeen, DEBUG, layoutParser, utils
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotationTypeRequiredMemberBuilder(AbstractBuilder.Context context, ClassDoc classDoc, AnnotationTypeRequiredMemberWriter writer, int memberType)Deprecated.Construct a new AnnotationTypeRequiredMemberBuilder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidbuildAnnotationTypeMember(XMLNode node, Content memberDetailsTree)Deprecated.Build the member documentation.voidbuildAnnotationTypeRequiredMember(XMLNode node, Content memberDetailsTree)Deprecated.Build the annotation type required member documentation.voidbuildDeprecationInfo(XMLNode node, Content annotationDocTree)Deprecated.Build the deprecation information.voidbuildMemberComments(XMLNode node, Content annotationDocTree)Deprecated.Build the comments for the member.voidbuildSignature(XMLNode node, Content annotationDocTree)Deprecated.Build the signature.voidbuildTagInfo(XMLNode node, Content annotationDocTree)Deprecated.Build the tag information.static AnnotationTypeRequiredMemberBuildergetInstance(AbstractBuilder.Context context, ClassDoc classDoc, AnnotationTypeRequiredMemberWriter writer)Deprecated.Construct a new AnnotationTypeMemberBuilder.StringgetName()Deprecated.Return the name of this builder.VisibleMemberMapgetVisibleMemberMap()Deprecated.Returns the visible member map for the members of this class.AnnotationTypeRequiredMemberWritergetWriter()Deprecated.Return the annotation type required member writer for this builder.booleanhasMembersToDocument()Deprecated.summaryOrder.size()List<ProgramElementDoc>members(ClassDoc classDoc)Deprecated.Returns a list of members that will be documented for the given class.-
Methods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractMemberBuilder
build, build
-
Methods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
buildChildren, invokeMethod
-
-
-
-
Field Detail
-
classDoc
protected ClassDoc classDoc
Deprecated.The annotation type whose members are being documented.
-
visibleMemberMap
protected VisibleMemberMap visibleMemberMap
Deprecated.The visible members for the given class.
-
writer
protected AnnotationTypeRequiredMemberWriter writer
Deprecated.The writer to output the member documentation.
-
members
protected List<ProgramElementDoc> members
Deprecated.The list of members being documented.
-
currentMemberIndex
protected int currentMemberIndex
Deprecated.The index of the current member that is being documented at this point in time.
-
-
Constructor Detail
-
AnnotationTypeRequiredMemberBuilder
protected AnnotationTypeRequiredMemberBuilder(AbstractBuilder.Context context, ClassDoc classDoc, AnnotationTypeRequiredMemberWriter writer, int memberType)
Deprecated.Construct a new AnnotationTypeRequiredMemberBuilder.- Parameters:
context- the build context.classDoc- the class whose members are being documented.writer- the doclet specific writer.
-
-
Method Detail
-
getInstance
public static AnnotationTypeRequiredMemberBuilder getInstance(AbstractBuilder.Context context, ClassDoc classDoc, AnnotationTypeRequiredMemberWriter writer)
Deprecated.Construct a new AnnotationTypeMemberBuilder.- Parameters:
context- the build context.classDoc- the class whose members are being documented.writer- the doclet specific writer.
-
getName
public String getName()
Deprecated.Return the name of this builder.- Specified by:
getNamein classAbstractBuilder- Returns:
- the name of the builder.
-
members
public List<ProgramElementDoc> members(ClassDoc classDoc)
Deprecated.Returns a list of members that will be documented for the given class. This information can be used for doclet specific documentation generation.- Parameters:
classDoc- theClassDocwe want to check.- Returns:
- a list of members that will be documented.
-
getVisibleMemberMap
public VisibleMemberMap getVisibleMemberMap()
Deprecated.Returns the visible member map for the members of this class.- Returns:
- the visible member map for the members of this class.
-
hasMembersToDocument
public boolean hasMembersToDocument()
Deprecated.summaryOrder.size()- Specified by:
hasMembersToDocumentin classAbstractMemberBuilder- Returns:
- true if this subbuilder has anything to document.
-
buildAnnotationTypeRequiredMember
public void buildAnnotationTypeRequiredMember(XMLNode node, Content memberDetailsTree)
Deprecated.Build the annotation type required member documentation.- Parameters:
node- the XML element that specifies which components to documentmemberDetailsTree- the content tree to which the documentation will be added
-
buildAnnotationTypeMember
public void buildAnnotationTypeMember(XMLNode node, Content memberDetailsTree)
Deprecated.Build the member documentation.- Parameters:
node- the XML element that specifies which components to documentmemberDetailsTree- the content tree to which the documentation will be added
-
buildSignature
public void buildSignature(XMLNode node, Content annotationDocTree)
Deprecated.Build the signature.- Parameters:
node- the XML element that specifies which components to documentannotationDocTree- the content tree to which the documentation will be added
-
buildDeprecationInfo
public void buildDeprecationInfo(XMLNode node, Content annotationDocTree)
Deprecated.Build the deprecation information.- Parameters:
node- the XML element that specifies which components to documentannotationDocTree- the content tree to which the documentation will be added
-
buildMemberComments
public void buildMemberComments(XMLNode node, Content annotationDocTree)
Deprecated.Build the comments for the member. Do nothing ifConfiguration.nocommentis set to true.- Parameters:
node- the XML element that specifies which components to documentannotationDocTree- the content tree to which the documentation will be added
-
buildTagInfo
public void buildTagInfo(XMLNode node, Content annotationDocTree)
Deprecated.Build the tag information.- Parameters:
node- the XML element that specifies which components to documentannotationDocTree- the content tree to which the documentation will be added
-
getWriter
public AnnotationTypeRequiredMemberWriter getWriter()
Deprecated.Return the annotation type required member writer for this builder.- Returns:
- the annotation type required member constant writer for this builder.
-
-