|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.doclets.formats.html.AbstractMemberWriter
com.sun.tools.doclets.formats.html.AbstractExecutableMemberWriter
com.sun.tools.doclets.formats.html.MethodWriterImpl
public class MethodWriterImpl
Writes method documentation in HTML format.
| Field Summary | |
|---|---|
private boolean |
printedSummaryHeader
|
| Fields inherited from class com.sun.tools.doclets.formats.html.AbstractMemberWriter |
|---|
classdoc, nodepr, writer |
| Constructor Summary | |
|---|---|
MethodWriterImpl(SubWriterHolderWriter writer)
Construct a new MethodWriterImpl. |
|
MethodWriterImpl(SubWriterHolderWriter writer,
ClassDoc classDoc)
Construct a new MethodWriterImpl. |
|
| Method Summary | |
|---|---|
void |
close()
Close the writer. |
int |
getMemberKind()
|
protected java.lang.String |
parseCodeTag(java.lang.String tag)
Parse the <Code> tag and return the text. |
protected static void |
printImplementsInfo(HtmlDocletWriter writer,
MethodDoc method)
|
void |
printInheritedSummaryAnchor(ClassDoc cd)
|
void |
printInheritedSummaryLabel(ClassDoc cd)
|
protected void |
printNavDetailLink(boolean link)
|
protected void |
printNavSummaryLink(ClassDoc cd,
boolean link)
|
protected static void |
printOverridden(HtmlDocletWriter writer,
Type overriddenType,
MethodDoc method)
|
protected void |
printReturnType(MethodDoc method)
|
void |
printSummaryAnchor(ClassDoc cd)
|
void |
printSummaryLabel(ClassDoc cd)
abstracts |
protected void |
printSummaryType(ProgramElementDoc member)
|
void |
writeComments(Type holder,
MethodDoc method)
Write the comments for the given method. |
void |
writeDeprecated(MethodDoc method)
Write the deprecated output for the given method. |
void |
writeFooter(ClassDoc classDoc)
Write the footer for the method documentation. |
void |
writeHeader(ClassDoc classDoc,
java.lang.String header)
Write the header for the method documentation. |
void |
writeInheritedMemberSummary(ClassDoc classDoc,
ProgramElementDoc method,
boolean isFirst,
boolean isLast)
Write the inherited member summary for the given class and member. |
void |
writeInheritedMemberSummaryFooter(ClassDoc classDoc)
Write the inherited methods summary footer for the given class. |
void |
writeInheritedMemberSummaryHeader(ClassDoc classDoc)
Write the inherited methods summary header for the given class. |
void |
writeMemberSummaryFooter(ClassDoc classDoc)
Write the methods summary footer for the given class. |
void |
writeMemberSummaryHeader(ClassDoc classDoc)
Write the methods summary header for the given class. |
void |
writeMethodFooter()
Write the method footer. |
void |
writeMethodHeader(MethodDoc method,
boolean isFirst)
Write the method header for the given method. |
void |
writeSignature(MethodDoc method)
Write the signature for the given method. |
void |
writeTags(MethodDoc method)
Write the tag output for the given method. |
| Methods inherited from class com.sun.tools.doclets.formats.html.AbstractExecutableMemberWriter |
|---|
getErasureAnchor, getReturnTypeLength, implementsMethodInIntfac, writeDeprecatedLink, writeExceptions, writeInheritedSummaryLink, writeParam, writeParameters, writeParameters, writeSignature, writeSummaryLink, writeTypeParameters |
| Methods inherited from class com.sun.tools.doclets.formats.html.AbstractMemberWriter |
|---|
configuration, eligibleMembers, isInherited, makeSpace, modifierString, name, navDetailLink, navSummaryLink, print, print, printComment, printCommentAndTags, printDeprecatedAPI, printFullComment, printHead, printInheritedSummaryFooter, printInheritedSummaryHeader, printModifierAndType, printModifiers, printStaticAndType, printSummaryFooter, printSummaryHeader, printUseInfo, serialWarning, strong, typeString, writeMemberSummary, writeSummaryLink |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.tools.doclets.internal.toolkit.MemberSummaryWriter |
|---|
writeMemberSummary |
| Field Detail |
|---|
private boolean printedSummaryHeader
| Constructor Detail |
|---|
public MethodWriterImpl(SubWriterHolderWriter writer,
ClassDoc classDoc)
writer - the writer for the class that the methods belong to.classDoc - the class being documented.public MethodWriterImpl(SubWriterHolderWriter writer)
writer - The writer for the class that the methods belong to.| Method Detail |
|---|
public void writeMemberSummaryHeader(ClassDoc classDoc)
writeMemberSummaryHeader in interface MemberSummaryWriterclassDoc - the class the summary belongs to.public void writeMemberSummaryFooter(ClassDoc classDoc)
writeMemberSummaryFooter in interface MemberSummaryWriterclassDoc - the class the summary belongs to.public void writeInheritedMemberSummaryHeader(ClassDoc classDoc)
writeInheritedMemberSummaryHeader in interface MemberSummaryWriterclassDoc - the class the summary belongs to.
public void writeInheritedMemberSummary(ClassDoc classDoc,
ProgramElementDoc method,
boolean isFirst,
boolean isLast)
writeInheritedMemberSummary in interface MemberSummaryWriterclassDoc - the class the inherited member belongs to.method - the inherited member that I am summarizing.isFirst - true if this is the first member in the list.isLast - true if this is the last member in the list.public void writeInheritedMemberSummaryFooter(ClassDoc classDoc)
writeInheritedMemberSummaryFooter in interface MemberSummaryWriterclassDoc - the class the summary belongs to.
public void writeHeader(ClassDoc classDoc,
java.lang.String header)
writeHeader in interface MethodWriterclassDoc - the class that the methods belong to.header - the header to write.
public void writeMethodHeader(MethodDoc method,
boolean isFirst)
writeMethodHeader in interface MethodWritermethod - the method being documented.isFirst - the flag to indicate whether or not the method is the
first to be documented.public void writeSignature(MethodDoc method)
writeSignature in interface MethodWritermethod - the method being documented.public void writeDeprecated(MethodDoc method)
writeDeprecated in interface MethodWritermethod - the method being documented.
public void writeComments(Type holder,
MethodDoc method)
writeComments in interface MethodWritermethod - the method being documented.holder - the holder type (not erasure) of the method.public void writeTags(MethodDoc method)
writeTags in interface MethodWritermethod - the method being documented.public void writeMethodFooter()
writeMethodFooter in interface MethodWriterpublic void writeFooter(ClassDoc classDoc)
writeFooter in interface MethodWriterclassDoc - the class that the methods belong to.
public void close()
throws java.io.IOException
close in interface MemberSummaryWriterclose in interface MethodWriterjava.io.IOExceptionpublic int getMemberKind()
public void printSummaryLabel(ClassDoc cd)
AbstractMemberWriter
printSummaryLabel in class AbstractMemberWriterpublic void printSummaryAnchor(ClassDoc cd)
printSummaryAnchor in class AbstractMemberWriterpublic void printInheritedSummaryAnchor(ClassDoc cd)
printInheritedSummaryAnchor in class AbstractMemberWriterpublic void printInheritedSummaryLabel(ClassDoc cd)
printInheritedSummaryLabel in class AbstractMemberWriterprotected void printSummaryType(ProgramElementDoc member)
printSummaryType in class AbstractMemberWriter
protected static void printOverridden(HtmlDocletWriter writer,
Type overriddenType,
MethodDoc method)
protected java.lang.String parseCodeTag(java.lang.String tag)
protected static void printImplementsInfo(HtmlDocletWriter writer,
MethodDoc method)
protected void printReturnType(MethodDoc method)
protected void printNavSummaryLink(ClassDoc cd,
boolean link)
printNavSummaryLink in class AbstractMemberWriterprotected void printNavDetailLink(boolean link)
printNavDetailLink in class AbstractMemberWriter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||