|
|||||||||
| 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.AbstractTreeWriter
com.sun.tools.doclets.formats.html.TreeWriter
public class TreeWriter
Generate Class Hierarchy page for all the Classes in this run. Use ClassTree for building the Tree. The name of the generated file is "overview-tree.html" and it is generated in the current or the destination directory.
| Field Summary | |
|---|---|
private boolean |
classesonly
True if there are no packages specified on the command line, False otherwise. |
private PackageDoc[] |
packages
Packages in this run. |
| Fields inherited from class com.sun.tools.doclets.formats.html.AbstractTreeWriter |
|---|
classtree |
| 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 | |
|---|---|
TreeWriter(ConfigurationImpl configuration,
java.lang.String filename,
ClassTree classtree)
Constructor to construct TreeWriter object. |
|
| Method Summary | |
|---|---|
static void |
generate(ConfigurationImpl configuration,
ClassTree classtree)
Create a TreeWriter object and use it to generate the "overview-tree.html" file. |
void |
generateTreeFile()
Print the interface hierarchy and class hierarchy in the file. |
protected void |
printPackageTreeLinks()
Generate the links to all the package tree files. |
protected void |
printPageHeading()
Print the page title "Hierarchy For All Packages" at the top of the tree page. |
protected void |
printTreeFooter()
Print the navigation bar and bottom text (from the -bottom option) at the bottom of page. |
protected void |
printTreeHeader()
Print the top text (from the -top option) and navigation bar at the top of page. |
| Methods inherited from class com.sun.tools.doclets.formats.html.AbstractTreeWriter |
|---|
generateLevelInfo, generateTree, navLinkTree, printExtendsImplements, printPartialInfo, printTreeHeading |
| 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[] packages
private boolean classesonly
| Constructor Detail |
|---|
public TreeWriter(ConfigurationImpl configuration,
java.lang.String filename,
ClassTree classtree)
throws java.io.IOException
configuration - the current configuration of the doclet.filename - String filenameclasstree - the tree being built.
java.io.IOException| Method Detail |
|---|
public static void generate(ConfigurationImpl configuration,
ClassTree classtree)
classtree - the class tree being documented.
DocletAbortException
public void generateTreeFile()
throws java.io.IOException
java.io.IOExceptionprotected void printPackageTreeLinks()
protected void printTreeHeader()
protected void printTreeFooter()
protected void printPageHeading()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||