Class MethodWriterImpl
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.MethodWriterImpl
- All Implemented Interfaces:
MemberSummaryWriter,MethodWriter
- Direct Known Subclasses:
HtmlSerialMethodWriter
@Deprecated
public class MethodWriterImpl
extends AbstractExecutableMemberWriter
implements MethodWriter, MemberSummaryWriter
Deprecated.
Writes method 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.
-
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
ConstructorsConstructorDescriptionDeprecated.Construct a new MethodWriterImpl.MethodWriterImpl(SubWriterHolderWriter writer, ClassDoc classDoc) Deprecated.Construct a new MethodWriterImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComments(Type holder, MethodDoc method, Content methodDocTree) Deprecated.Add the comments for the given method.voidaddDeprecated(MethodDoc method, Content methodDocTree) Deprecated.Add the deprecated output for the given method.protected static voidaddImplementsInfo(HtmlDocletWriter writer, MethodDoc method, Content dl) Deprecated.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.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.protected static voidaddOverridden(HtmlDocletWriter writer, Type overriddenType, MethodDoc method, Content dl) Deprecated.protected voidaddReturnType(MethodDoc method, Content htmltree) Deprecated.Add the return type.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 voidaddSummaryType(ProgramElementDoc member, Content tdSummaryType) Deprecated.Add the summary type for the member.voidDeprecated.Add the tags for the given method.voidclose()Deprecated.Close the writer.Deprecated.Get the caption for the member summary table.intDeprecated.getMemberSummaryHeader(ClassDoc classDoc, Content memberSummaryTree) Deprecated.Get the member summary header for the given class.getMethodDetails(Content methodDetailsTree) Deprecated.Get the method details tree.getMethodDetailsTreeHeader(ClassDoc classDoc, Content memberDetailsTree) Deprecated.Get the method details tree header.getMethodDoc(Content methodDocTree, boolean isLastContent) Deprecated.Get the method documentation.getMethodDocTreeHeader(MethodDoc method, Content methodDetailsTree) Deprecated.Get the method documentation tree header.protected ContentgetNavSummaryLink(ClassDoc cd, boolean link) Deprecated.Get the navigation summary link.getSignature(MethodDoc method) Deprecated.Get the signature for the given method.String[]Deprecated.Get the summary table header for the member.Deprecated.Get the summary for the member summary table.Methods inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.AbstractExecutableMemberWriter
addExceptions, addInheritedSummaryLink, addParam, addParameters, addParameters, addReceiverAnnotations, addSummaryLink, addTypeParameters, getDeprecatedLink, getErasureAnchor, getTypeParameters, implementsMethodInIntfacMethods 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, typeStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gw.gosudoc.com.sun.tools.doclets.internal.toolkit.MemberSummaryWriter
addInheritedMemberSummary, addMemberSummary, getInheritedSummaryHeader, getInheritedSummaryLinksTree, getMemberTree, getSummaryTableTree
-
Constructor Details
-
MethodWriterImpl
Deprecated.Construct a new MethodWriterImpl.- Parameters:
writer- the writer for the class that the methods belong to.classDoc- the class being documented.
-
MethodWriterImpl
Deprecated.Construct a new MethodWriterImpl.- Parameters:
writer- The writer for the class that the methods belong to.
-
-
Method Details
-
getMemberSummaryHeader
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
-
addMemberTree
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
-
getMethodDetailsTreeHeader
Deprecated.Get the method details tree header.- Specified by:
getMethodDetailsTreeHeaderin interfaceMethodWriter- Parameters:
classDoc- the class being documentedmemberDetailsTree- the content tree representing member details- Returns:
- content tree for the method details header
-
getMethodDocTreeHeader
Deprecated.Get the method documentation tree header.- Specified by:
getMethodDocTreeHeaderin interfaceMethodWriter- Parameters:
method- the method being documentedmethodDetailsTree- the content tree representing method details- Returns:
- content tree for the method documentation header
-
getSignature
Deprecated.Get the signature for the given method.- Specified by:
getSignaturein interfaceMethodWriter- Parameters:
method- the method being documented.- Returns:
- a content object for the signature
-
addDeprecated
Deprecated.Add the deprecated output for the given method.- Specified by:
addDeprecatedin interfaceMethodWriter- Parameters:
method- the method being documentedmethodDocTree- content tree to which the deprecated information will be added
-
addComments
Deprecated.Add the comments for the given method.- Specified by:
addCommentsin interfaceMethodWriter- Parameters:
holder- the holder type (not erasure) of the methodmethod- the method being documentedmethodDocTree- the content tree to which the comments will be added
-
addTags
Deprecated.Add the tags for the given method.- Specified by:
addTagsin interfaceMethodWriter- Parameters:
method- the method being documentedmethodDocTree- the content tree to which the tags will be added
-
getMethodDetails
Deprecated.Get the method details tree.- Specified by:
getMethodDetailsin interfaceMethodWriter- Parameters:
methodDetailsTree- the content tree representing method details- Returns:
- content tree for the method details
-
getMethodDoc
Deprecated.Get the method documentation.- Specified by:
getMethodDocin interfaceMethodWriter- Parameters:
methodDocTree- the content tree representing method documentationisLastContent- true if the content to be added is the last content- Returns:
- content tree for the method documentation
-
close
Deprecated.Close the writer.- Specified by:
closein interfaceMemberSummaryWriter- Specified by:
closein interfaceMethodWriter- Throws:
IOException
-
getMemberKind
public int getMemberKind()Deprecated. -
addSummaryLabel
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
Deprecated.Get the summary for the member summary table.- Specified by:
getTableSummaryin classAbstractMemberWriter- Returns:
- a string for the table summary
-
getCaption
Deprecated.Get the caption for the member summary table.- Specified by:
getCaptionin classAbstractMemberWriter- Returns:
- a string for the table caption
-
getSummaryTableHeader
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
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
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
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
-
addSummaryType
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
-
addOverridden
protected static void addOverridden(HtmlDocletWriter writer, Type overriddenType, MethodDoc method, Content dl) Deprecated. -
addImplementsInfo
Deprecated. -
addReturnType
Deprecated.Add the return type.- Parameters:
method- the method being documented.htmltree- the content tree to which the return type will be added
-