|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
java.io.PrintWriter
com.sun.tools.doclets.formats.html.markup.HtmlWriter
com.sun.tools.doclets.formats.html.markup.HtmlDocWriter
com.sun.tools.doclets.formats.html.HtmlDocletWriter
com.sun.tools.doclets.formats.html.ConstantsSummaryWriterImpl
public class ConstantsSummaryWriterImpl
Write the Constants Summary Page in HTML format.
| Field Summary | |
|---|---|
(package private) ConfigurationImpl |
configuration
The configuration used in this run of the standard doclet. |
private ClassDoc |
currentClassDoc
The current class being documented. |
| Fields inherited from class com.sun.tools.doclets.formats.html.HtmlDocletWriter |
|---|
displayLength, filename, path, relativePath, relativepathNoSlash |
| Fields inherited from class com.sun.tools.doclets.formats.html.markup.HtmlWriter |
|---|
fileseparator, htmlFilename, winTitle |
| Fields inherited from class java.io.PrintWriter |
|---|
out |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
ConstantsSummaryWriterImpl(ConfigurationImpl configuration)
Construct a ConstantsSummaryWriter. |
|
| Method Summary | |
|---|---|
private void |
tableFooter(boolean isHeader)
|
protected void |
writeClassName(java.lang.String classStr)
Print the class name in the table heading. |
private void |
writeConstantMember(FieldDoc member)
|
void |
writeConstantMembers(ClassDoc cd,
java.util.List<FieldDoc> fields)
Document the given constants. |
void |
writeConstantMembersFooter(ClassDoc cd)
Document the given constants. |
void |
writeConstantMembersHeader(ClassDoc cd)
Write the heading for the current table of constants for a given class. |
void |
writeContentsFooter()
Write the footer for the index. |
void |
writeContentsHeader()
Write the header for the index. |
void |
writeFooter()
Write the footer for the summary. |
void |
writeHeader()
Write the header for the summary. |
void |
writeLinkToPackageContent(PackageDoc pkg,
java.lang.String parsedPackageName,
java.util.Set<java.lang.String> printedPackageHeaders)
Add the given package name to the index. |
private void |
writeNameColumn(FieldDoc member)
|
void |
writePackageName(PackageDoc pkg,
java.lang.String parsedPackageName)
Write the given package name. |
private void |
writeTypeColumn(FieldDoc member)
|
private void |
writeValue(FieldDoc member)
|
| Methods inherited from class com.sun.tools.doclets.formats.html.markup.HtmlDocWriter |
|---|
getHyperLink, getHyperLink, getHyperLink, getHyperLink, getPkgName, printBodyHtmlEnd, printFooter, printFrameFooter, printFramesetHeader, printFramesetHeader, printHyperLink, printHyperLink, printHyperLink, printHyperLink, printNbsps, printPkgName, spaces, today |
| Methods inherited from class java.io.PrintWriter |
|---|
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
| 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.ConstantsSummaryWriter |
|---|
close |
| Field Detail |
|---|
ConfigurationImpl configuration
private ClassDoc currentClassDoc
| Constructor Detail |
|---|
public ConstantsSummaryWriterImpl(ConfigurationImpl configuration)
throws java.io.IOException
configuration - the configuration used in this run
of the standard doclet.
java.io.IOException| Method Detail |
|---|
public void writeHeader()
writeHeader in interface ConstantsSummaryWriterpublic void writeFooter()
writeFooter in interface ConstantsSummaryWriterpublic void writeContentsHeader()
writeContentsHeader in interface ConstantsSummaryWriterpublic void writeContentsFooter()
writeContentsFooter in interface ConstantsSummaryWriter
public void writeLinkToPackageContent(PackageDoc pkg,
java.lang.String parsedPackageName,
java.util.Set<java.lang.String> printedPackageHeaders)
writeLinkToPackageContent in interface ConstantsSummaryWriterpkg - the PackageDoc to index.parsedPackageName - the parsed package name. We only Write the
first 2 directory levels of the package
name. For example, java.lang.ref would be
indexed as java.lang.*.printedPackageHeaders - the set of package headers that have already
been indexed. We don't want to index
something more than once.public void writeConstantMembersHeader(ClassDoc cd)
writeConstantMembersHeader in interface ConstantsSummaryWritercd - the class whose constants are being documented.public void writeConstantMembersFooter(ClassDoc cd)
writeConstantMembersFooter in interface ConstantsSummaryWritercd - the class whose constants are being documented.protected void writeClassName(java.lang.String classStr)
classStr - the heading to print.private void tableFooter(boolean isHeader)
public void writePackageName(PackageDoc pkg,
java.lang.String parsedPackageName)
writePackageName in interface ConstantsSummaryWriterpkg - the PackageDoc to index.parsedPackageName - the parsed package name. We only Write the
first 2 directory levels of the package
name. For example, java.lang.ref would be
indexed as java.lang.*.
public void writeConstantMembers(ClassDoc cd,
java.util.List<FieldDoc> fields)
writeConstantMembers in interface ConstantsSummaryWritercd - the class whose constants are being documented.fields - the constants being documented.private void writeConstantMember(FieldDoc member)
private void writeTypeColumn(FieldDoc member)
private void writeNameColumn(FieldDoc member)
private void writeValue(FieldDoc member)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||