Class ConstructorWriterImpl
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractMemberWriter
gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractExecutableMemberWriter
gw.gosudoc.com.sun.tools.doclets.formats.html.ConstructorWriterImpl
- All Implemented Interfaces:
ConstructorWriter
,MemberSummaryWriter
@Deprecated
public class ConstructorWriterImpl
extends AbstractExecutableMemberWriter
implements ConstructorWriter, MemberSummaryWriter
Deprecated.
Writes constructor documentation.
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.
-
Field Summary
FieldsFields inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractMemberWriter
classdoc, configuration, methodTypes, nodepr, printedSummaryHeader, typeMap, utils, writer
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Construct a new ConstructorWriterImpl.ConstructorWriterImpl
(SubWriterHolderWriter writer, ClassDoc classDoc) Deprecated.Construct a new ConstructorWriterImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addComments
(ConstructorDoc constructor, Content constructorDocTree) Deprecated.Add the comments for the given constructor.void
addDeprecated
(ConstructorDoc constructor, Content constructorDocTree) Deprecated.Add the deprecated output for the given constructor.void
addInheritedSummaryAnchor
(ClassDoc cd, Content inheritedTree) Deprecated.Add the anchor for the inherited summary section of the member.void
addInheritedSummaryLabel
(ClassDoc cd, Content inheritedTree) Deprecated.Add inherited summary lable for the member.void
addMemberTree
(Content memberSummaryTree, Content memberTree) Deprecated.Add the member tree to the member summary tree.protected void
addNavDetailLink
(boolean link, Content liNav) Deprecated.Add the navigation detail link.void
addSummaryAnchor
(ClassDoc cd, Content memberTree) Deprecated.Add the anchor for the summary section of the member.void
addSummaryLabel
(Content memberTree) Deprecated.Add the summary label for the member.protected void
addSummaryType
(ProgramElementDoc member, Content tdSummaryType) Deprecated.Add the summary type for the member.void
addTags
(ConstructorDoc constructor, Content constructorDocTree) Deprecated.Add the tags for the given constructor.void
close()
Deprecated.Close the writer.Deprecated.Get the caption for the member summary table.getConstructorDetails
(Content constructorDetailsTree) Deprecated.Get the constructor details tree.getConstructorDetailsTreeHeader
(ClassDoc classDoc, Content memberDetailsTree) Deprecated.Get the constructor details tree header.getConstructorDoc
(Content constructorDocTree, boolean isLastContent) Deprecated.Get the constructor documentation.getConstructorDocTreeHeader
(ConstructorDoc constructor, Content constructorDetailsTree) Deprecated.Get the constructor documentation tree header.int
Deprecated.getMemberSummaryHeader
(ClassDoc classDoc, Content memberSummaryTree) Deprecated.Get the member summary header for the given class.protected Content
getNavSummaryLink
(ClassDoc cd, boolean link) Deprecated.Get the navigation summary link.getSignature
(ConstructorDoc constructor) Deprecated.Get the signature for the given constructor.String[]
Deprecated.Get the summary table header for the member.Deprecated.Get the summary for the member summary table.void
setFoundNonPubConstructor
(boolean foundNonPubConstructor) Deprecated.Let the writer know whether a non public constructor was found.void
setSummaryColumnStyle
(HtmlTree tdTree) Deprecated.Set the style for the summary column.Methods inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractExecutableMemberWriter
addExceptions, addInheritedSummaryLink, addParam, addParameters, addParameters, addReceiverAnnotations, addSummaryLink, addTypeParameters, getDeprecatedLink, getErasureAnchor, getTypeParameters, implementsMethodInIntfac
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, 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
-
Field Details
-
foundNonPubConstructor
private boolean foundNonPubConstructorDeprecated.
-
-
Constructor Details
-
ConstructorWriterImpl
Deprecated.Construct a new ConstructorWriterImpl.- Parameters:
writer
- The writer for the class that the constructors belong to.classDoc
- the class being documented.
-
ConstructorWriterImpl
Deprecated.Construct a new ConstructorWriterImpl.- Parameters:
writer
- The writer for the class that the constructors belong to.
-
-
Method Details
-
getMemberSummaryHeader
Deprecated.Get the member summary header for the given class.- Specified by:
getMemberSummaryHeader
in 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
-
addMemberTree
Deprecated.Add the member tree to the member summary tree.- Specified by:
addMemberTree
in interfaceMemberSummaryWriter
- Parameters:
memberSummaryTree
- the content tree representing the member summarymemberTree
- the content tree representing the member
-
getConstructorDetailsTreeHeader
Deprecated.Get the constructor details tree header.- Specified by:
getConstructorDetailsTreeHeader
in interfaceConstructorWriter
- Parameters:
classDoc
- the class being documentedmemberDetailsTree
- the content tree representing member details- Returns:
- content tree for the constructor details header
-
getConstructorDocTreeHeader
public Content getConstructorDocTreeHeader(ConstructorDoc constructor, Content constructorDetailsTree) Deprecated.Get the constructor documentation tree header.- Specified by:
getConstructorDocTreeHeader
in interfaceConstructorWriter
- Parameters:
constructor
- the constructor being documentedconstructorDetailsTree
- the content tree representing constructor details- Returns:
- content tree for the constructor documentation header
-
getSignature
Deprecated.Get the signature for the given constructor.- Specified by:
getSignature
in interfaceConstructorWriter
- Parameters:
constructor
- the constructor being documented- Returns:
- content tree for the constructor signature
-
setSummaryColumnStyle
Deprecated.Set the style for the summary column.- Overrides:
setSummaryColumnStyle
in classAbstractMemberWriter
- Parameters:
tdTree
- the column for which the style will be set
-
addDeprecated
Deprecated.Add the deprecated output for the given constructor.- Specified by:
addDeprecated
in interfaceConstructorWriter
- Parameters:
constructor
- the constructor being documentedconstructorDocTree
- content tree to which the deprecated information will be added
-
addComments
Deprecated.Add the comments for the given constructor.- Specified by:
addComments
in interfaceConstructorWriter
- Parameters:
constructor
- the constructor being documentedconstructorDocTree
- the content tree to which the comments will be added
-
addTags
Deprecated.Add the tags for the given constructor.- Specified by:
addTags
in interfaceConstructorWriter
- Parameters:
constructor
- the constructor being documentedconstructorDocTree
- the content tree to which the tags will be added
-
getConstructorDetails
Deprecated.Get the constructor details tree.- Specified by:
getConstructorDetails
in interfaceConstructorWriter
- Parameters:
constructorDetailsTree
- the content tree representing member details- Returns:
- content tree for the constructor details
-
getConstructorDoc
Deprecated.Get the constructor documentation.- Specified by:
getConstructorDoc
in interfaceConstructorWriter
- Parameters:
constructorDocTree
- the content tree representing constructor documentationisLastContent
- true if the content to be added is the last content- Returns:
- content tree for the constructor documentation
-
close
Deprecated.Close the writer.- Specified by:
close
in interfaceConstructorWriter
- Specified by:
close
in interfaceMemberSummaryWriter
- Throws:
IOException
-
setFoundNonPubConstructor
public void setFoundNonPubConstructor(boolean foundNonPubConstructor) Deprecated.Let the writer know whether a non public constructor was found.- Specified by:
setFoundNonPubConstructor
in interfaceConstructorWriter
- Parameters:
foundNonPubConstructor
- true if we found a non public constructor.
-
addSummaryLabel
Deprecated.Add the summary label for the member.- Specified by:
addSummaryLabel
in classAbstractMemberWriter
- Parameters:
memberTree
- the content tree to which the label will be added
-
getTableSummary
Deprecated.Get the summary for the member summary table.- Specified by:
getTableSummary
in classAbstractMemberWriter
- Returns:
- a string for the table summary
-
getCaption
Deprecated.Get the caption for the member summary table.- Specified by:
getCaption
in classAbstractMemberWriter
- Returns:
- a string for the table caption
-
getSummaryTableHeader
Deprecated.Get the summary table header for the member.- Specified by:
getSummaryTableHeader
in classAbstractMemberWriter
- Parameters:
member
- the member to be documented- Returns:
- the summary table header
-
addSummaryAnchor
Deprecated.Add the anchor for the summary section of the member.- Specified by:
addSummaryAnchor
in classAbstractMemberWriter
- Parameters:
cd
- the class doc to be documentedmemberTree
- the content tree to which the summary anchor will be added
-
addInheritedSummaryAnchor
Deprecated.Add the anchor for the inherited summary section of the member.- Specified by:
addInheritedSummaryAnchor
in classAbstractMemberWriter
- Parameters:
cd
- the class doc to be documentedinheritedTree
- the content tree to which the inherited summary anchor will be added
-
addInheritedSummaryLabel
Deprecated.Add inherited summary lable for the member.- Specified by:
addInheritedSummaryLabel
in classAbstractMemberWriter
- Parameters:
cd
- the class doc to which to link toinheritedTree
- the content tree to which the inherited summary label will be added
-
getMemberKind
public int getMemberKind()Deprecated. -
addSummaryType
Deprecated.Add the summary type for the member.- Specified by:
addSummaryType
in classAbstractMemberWriter
- Parameters:
member
- the member to be documentedtdSummaryType
- the content tree to which the type will be added
-