|
|||||||||
| 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.PackageWriterImpl
public class PackageWriterImpl
Class to generate file for each package contents in the right-hand frame. This will list all the Class Kinds in the package. A click on any class-kind will update the frame with the clicked class-kind page.
| Field Summary | |
|---|---|
protected PackageDoc |
next
The next package name in the alpha-order list. |
private static java.lang.String |
OUTPUT_FILE_NAME
The name of the output file. |
protected PackageDoc |
packageDoc
The package being documented. |
protected PackageDoc |
prev
The prev package name in the alpha-order list. |
| Fields inherited from class com.sun.tools.doclets.formats.html.HtmlDocletWriter |
|---|
configuration, 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 | |
|---|---|
PackageWriterImpl(ConfigurationImpl configuration,
PackageDoc packageDoc,
PackageDoc prev,
PackageDoc next)
Constructor to construct PackageWriter object and to generate "package-summary.html" file in the respective package directory. |
|
| Method Summary | |
|---|---|
java.lang.String |
getOutputFileName()
Return the name of the output file. |
protected void |
navLinkClassUse()
Print "Use" link for this pacakge in the navigation bar. |
protected void |
navLinkNext()
Print "NEXT PACKAGE" link in the navigation bar. |
protected void |
navLinkPackage()
Highlight "Package" in the navigation bar, as this is the package page. |
protected void |
navLinkPrevious()
Print "PREV PACKAGE" link in the navigation bar. |
protected void |
navLinkTree()
Print "Tree" link in the navigation bar. |
protected void |
printFirstRow(java.lang.String label)
Print the table heading for the class-listing. |
void |
writeClassesSummary(ClassDoc[] classes,
java.lang.String label)
Write the table of classes in this package. |
void |
writePackageDescription()
Print the package description from the "packages.html" file. |
void |
writePackageFooter()
Write the footer for the summary. |
void |
writePackageHeader(java.lang.String heading)
Write the header for the summary. |
void |
writePackageTags()
Print the tag information from the "packages.html" file. |
void |
writeSummaryFooter()
Write the footer for the package summary. |
void |
writeSummaryHeader()
Write the header for the package summary. |
| 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.PackageSummaryWriter |
|---|
close |
| Field Detail |
|---|
protected PackageDoc prev
protected PackageDoc next
protected PackageDoc packageDoc
private static final java.lang.String OUTPUT_FILE_NAME
| Constructor Detail |
|---|
public PackageWriterImpl(ConfigurationImpl configuration,
PackageDoc packageDoc,
PackageDoc prev,
PackageDoc next)
throws java.io.IOException
configuration - the configuration of the doclet.packageDoc - PackageDoc under consideration.prev - Previous package in the sorted array.next - Next package in the sorted array.
java.io.IOException| Method Detail |
|---|
public java.lang.String getOutputFileName()
getOutputFileName in interface PackageSummaryWriterpublic void writeSummaryHeader()
writeSummaryHeader in interface PackageSummaryWriterpublic void writeSummaryFooter()
writeSummaryFooter in interface PackageSummaryWriter
public void writeClassesSummary(ClassDoc[] classes,
java.lang.String label)
writeClassesSummary in interface PackageSummaryWriterclasses - the array of classes to document.label - the label for this table.protected void printFirstRow(java.lang.String label)
label - Label for the Class kind listing.public void writePackageDescription()
writePackageDescription in interface PackageSummaryWriterpublic void writePackageTags()
writePackageTags in interface PackageSummaryWriterpublic void writePackageHeader(java.lang.String heading)
writePackageHeader in interface PackageSummaryWriterheading - Package name.public void writePackageFooter()
writePackageFooter in interface PackageSummaryWriterprotected void navLinkClassUse()
navLinkClassUse in class HtmlDocletWriterprotected void navLinkPrevious()
navLinkPrevious in class HtmlDocletWriterprotected void navLinkNext()
navLinkNext in class HtmlDocletWriterprotected void navLinkTree()
navLinkTree in class HtmlDocletWriterprotected void navLinkPackage()
navLinkPackage in class HtmlDocletWriter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||