|
|||||||||
| 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.PackageFrameWriter
public class PackageFrameWriter
Class to generate file for each package contents in the left-hand bottom frame. This will list all the Class Kinds in the package. A click on any class-kind will update the right-hand frame with the clicked class-kind page.
| Field Summary | |
|---|---|
private java.util.Set<ClassDoc> |
documentedClasses
The classes to be documented. |
static java.lang.String |
OUTPUT_FILE_NAME
The name of the output file. |
private PackageDoc |
packageDoc
The package being documented. |
| 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 | |
|---|---|
PackageFrameWriter(ConfigurationImpl configuration,
PackageDoc packageDoc)
Constructor to construct PackageFrameWriter object and to generate "package-frame.html" file in the respective package directory. |
|
| Method Summary | |
|---|---|
static void |
generate(ConfigurationImpl configuration,
PackageDoc packageDoc)
Generate a package summary page for the left-hand bottom frame. |
protected void |
generateClassKindListing(ClassDoc[] arr,
java.lang.String label)
Generate specific class kind listing. |
protected void |
generateClassListing()
Generate class listing for all the classes in this package. |
protected void |
printPackageHeader(java.lang.String heading)
Print the package link at the top of the class kind listing. |
protected void |
printPackageTableFooter()
Closing Html tags for table of class kind listing. |
protected void |
printPackageTableHeader()
The table for the class kind listing. |
| 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 |
| Field Detail |
|---|
private PackageDoc packageDoc
private java.util.Set<ClassDoc> documentedClasses
public static final java.lang.String OUTPUT_FILE_NAME
| Constructor Detail |
|---|
public PackageFrameWriter(ConfigurationImpl configuration,
PackageDoc packageDoc)
throws java.io.IOException
configuration - the configuration of the doclet.packageDoc - PackageDoc under consideration.
java.io.IOException| Method Detail |
|---|
public static void generate(ConfigurationImpl configuration,
PackageDoc packageDoc)
configuration - the current configuration of the doclet.packageDoc - The package for which "pacakge-frame.html" is to be generated.protected void generateClassListing()
protected void generateClassKindListing(ClassDoc[] arr,
java.lang.String label)
arr - Array of specific class kinds, namely Class or Interface or
Exception or Error.label - Label for the listingprotected void printPackageHeader(java.lang.String heading)
heading - Top Heading to be used for the class kind listing.protected void printPackageTableHeader()
protected void printPackageTableFooter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||