|
|||||||||
| 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.ConstructorWriterImpl
public class ConstructorWriterImpl
Writes constructor documentation.
| Field Summary | |
|---|---|
private boolean |
foundNonPubConstructor
|
private boolean |
printedSummaryHeader
|
| Fields inherited from class com.sun.tools.doclets.formats.html.AbstractMemberWriter |
|---|
classdoc, nodepr, writer |
| Constructor Summary | |
|---|---|
ConstructorWriterImpl(SubWriterHolderWriter writer)
Construct a new ConstructorWriterImpl. |
|
ConstructorWriterImpl(SubWriterHolderWriter writer,
ClassDoc classDoc)
Construct a new ConstructorWriterImpl. |
|
| Method Summary | |
|---|---|
void |
close()
Close the writer. |
int |
getMemberKind()
|
protected void |
navSummaryLink(java.util.List<?> members)
|
void |
printInheritedSummaryAnchor(ClassDoc cd)
|
void |
printInheritedSummaryLabel(ClassDoc cd)
|
protected void |
printNavDetailLink(boolean link)
|
protected void |
printNavSummaryLink(ClassDoc cd,
boolean link)
|
void |
printSummaryAnchor(ClassDoc cd)
|
void |
printSummaryLabel(ClassDoc cd)
abstracts |
protected void |
printSummaryType(ProgramElementDoc member)
|
void |
setFoundNonPubConstructor(boolean foundNonPubConstructor)
Let the writer know whether a non public constructor was found. |
void |
writeComments(ConstructorDoc constructor)
Write the comments for the given constructor. |
void |
writeConstructorFooter()
Write the constructor footer. |
void |
writeConstructorHeader(ConstructorDoc constructor,
boolean isFirst)
Write the constructor header for the given constructor. |
void |
writeDeprecated(ConstructorDoc constructor)
Write the deprecated output for the given constructor. |
void |
writeFooter(ClassDoc classDoc)
Write the footer for the constructor documentation. |
void |
writeHeader(ClassDoc classDoc,
java.lang.String header)
Write the header for the constructor documentation. |
void |
writeInheritedMemberSummary(ClassDoc classDoc,
ProgramElementDoc member,
boolean isFirst,
boolean isLast)
Write the inherited member summary for the given class and member. |
void |
writeInheritedMemberSummaryFooter(ClassDoc classDoc)
Write the inherited member summary footer for the given class. |
void |
writeInheritedMemberSummaryHeader(ClassDoc classDoc)
Write the inherited member summary header for the given class. |
void |
writeMemberSummaryFooter(ClassDoc classDoc)
Write the constructors summary footer for the given class. |
void |
writeMemberSummaryHeader(ClassDoc classDoc)
Write the constructors summary header for the given class. |
void |
writeSignature(ConstructorDoc constructor)
Write the signature for the given constructor. |
void |
writeTags(ConstructorDoc constructor)
Write the tag output for the given constructor. |
| 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 foundNonPubConstructor
private boolean printedSummaryHeader
| Constructor Detail |
|---|
public ConstructorWriterImpl(SubWriterHolderWriter writer,
ClassDoc classDoc)
writer - The writer for the class that the constructors belong to.classDoc - the class being documented.public ConstructorWriterImpl(SubWriterHolderWriter writer)
writer - The writer for the class that the constructors 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 writeHeader(ClassDoc classDoc,
java.lang.String header)
writeHeader in interface ConstructorWriterclassDoc - the class that the constructors belong to.header - the header to write.
public void writeConstructorHeader(ConstructorDoc constructor,
boolean isFirst)
writeConstructorHeader in interface ConstructorWriterconstructor - the constructor being documented.isFirst - the flag to indicate whether or not the constructor is the
first to be documented.public void writeSignature(ConstructorDoc constructor)
writeSignature in interface ConstructorWriterconstructor - the constructor being documented.public void writeDeprecated(ConstructorDoc constructor)
writeDeprecated in interface ConstructorWriterconstructor - the constructor being documented.public void writeComments(ConstructorDoc constructor)
writeComments in interface ConstructorWriterconstructor - the constructor being documented.public void writeTags(ConstructorDoc constructor)
writeTags in interface ConstructorWriterconstructor - the constructor being documented.public void writeConstructorFooter()
writeConstructorFooter in interface ConstructorWriterpublic void writeFooter(ClassDoc classDoc)
writeFooter in interface ConstructorWriterclassDoc - the class that the constructors belong to.
public void close()
throws java.io.IOException
close in interface ConstructorWriterclose in interface MemberSummaryWriterjava.io.IOExceptionpublic void setFoundNonPubConstructor(boolean foundNonPubConstructor)
setFoundNonPubConstructor in interface ConstructorWriterfoundNonPubConstructor - true if we found a non public constructor.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 AbstractMemberWriterpublic int getMemberKind()
protected void navSummaryLink(java.util.List<?> members)
protected void printNavSummaryLink(ClassDoc cd,
boolean link)
printNavSummaryLink in class AbstractMemberWriterprotected void printNavDetailLink(boolean link)
printNavDetailLink in class AbstractMemberWriterprotected void printSummaryType(ProgramElementDoc member)
printSummaryType in class AbstractMemberWriterpublic void writeInheritedMemberSummaryHeader(ClassDoc classDoc)
writeInheritedMemberSummaryHeader in interface MemberSummaryWriterclassDoc - the class the summary belongs to.
public void writeInheritedMemberSummary(ClassDoc classDoc,
ProgramElementDoc member,
boolean isFirst,
boolean isLast)
writeInheritedMemberSummary in interface MemberSummaryWriterclassDoc - the class the inherited member belongs to.member - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||