|
|||||||||
| 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.FrameOutputWriter
public class FrameOutputWriter
Generate the documentation in the Html "frame" format in the browser. The generated documentation will have two or three frames depending upon the number of packages on the command line. In general there will be three frames in the output, a left-hand top frame will have a list of all packages with links to target left-hand bottom frame. The left-hand bottom frame will have the particular package contents or the all-classes list, where as the single right-hand frame will have overview or package summary or class file. Also take care of browsers which do not support Html frames.
| Field Summary | |
|---|---|
(package private) int |
noOfPackages
Number of packages specified on the command line. |
| 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 | |
|---|---|
FrameOutputWriter(ConfigurationImpl configuration,
java.lang.String filename)
Constructor to construct FrameOutputWriter object. |
|
| Method Summary | |
|---|---|
static void |
generate(ConfigurationImpl configuration)
Construct FrameOutputWriter object and then use it to generate the Html file which will have the description of all the frames in the documentation. |
protected void |
generateFrameFile()
Generate the contants in the "index.html" file. |
private void |
printAllClassesFrameTag()
Print the FRAME tag for the frame that lists all classes |
private void |
printAllPackagesFrameTag()
Print the FRAME tag for the frame that lists all packages |
private void |
printClassFrameTag()
Print the FRAME tag for the frame that describes the class in detail |
protected void |
printFrameDetails()
Print the frame sizes and their contents. |
protected void |
printFrameWarning()
Generate the code for issueing the warning for a non-frame capable web client. |
| 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 |
|---|
int noOfPackages
| Constructor Detail |
|---|
public FrameOutputWriter(ConfigurationImpl configuration,
java.lang.String filename)
throws java.io.IOException
filename - File to be generated.
java.io.IOException| Method Detail |
|---|
public static void generate(ConfigurationImpl configuration)
DocletAbortExceptionprotected void generateFrameFile()
protected void printFrameWarning()
protected void printFrameDetails()
private void printAllPackagesFrameTag()
private void printAllClassesFrameTag()
private void printClassFrameTag()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||