|
|||||||||
| 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.PackageTreeWriter
public class PackageTreeWriter
Class to generate Tree page for a package. The name of the file generated is "package-tree.html" and it is generated in the respective package directory.
| Field Summary | |
|---|---|
protected PackageDoc |
next
The next package name in the alpha-order list. |
protected PackageDoc |
packagedoc
Package for which tree is to be generated. |
protected PackageDoc |
prev
The previous package name in the alpha-order list. |
| 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 | |
|---|---|
PackageTreeWriter(ConfigurationImpl configuration,
java.lang.String path,
java.lang.String filename,
PackageDoc packagedoc,
PackageDoc prev,
PackageDoc next)
Constructor. |
|
| Method Summary | |
|---|---|
static void |
generate(ConfigurationImpl configuration,
PackageDoc pkg,
PackageDoc prev,
PackageDoc next,
boolean noDeprecated)
Construct a PackageTreeWriter object and then use it to generate the package tree page. |
protected void |
generatePackageTreeFile()
Generate a separate tree file for each package. |
protected void |
navLinkNext()
Link for the next package tree file. |
protected void |
navLinkPackage()
Link to the package summary page for the package of this tree. |
protected void |
navLinkPrevious()
Link for the previous package tree file. |
protected void |
printLinkToMainTree()
Generate a link to the tree for all the packages. |
protected void |
printPackageTreeFooter()
Print the navigation bar footer for the package tree file. |
protected void |
printPackageTreeHeader()
Print the navigation bar header for the package tree file. |
| 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 |
|---|
protected PackageDoc packagedoc
protected PackageDoc prev
protected PackageDoc next
| Constructor Detail |
|---|
public PackageTreeWriter(ConfigurationImpl configuration,
java.lang.String path,
java.lang.String filename,
PackageDoc packagedoc,
PackageDoc prev,
PackageDoc next)
throws java.io.IOException
java.io.IOException
DocletAbortException| Method Detail |
|---|
public static void generate(ConfigurationImpl configuration,
PackageDoc pkg,
PackageDoc prev,
PackageDoc next,
boolean noDeprecated)
pkg - Package for which tree file is to be generated.prev - Previous package in the alpha-ordered list.next - Next package in the alpha-ordered list.noDeprecated - If true, do not generate any information for
deprecated classe or interfaces.
DocletAbortException
protected void generatePackageTreeFile()
throws java.io.IOException
java.io.IOExceptionprotected void printPackageTreeHeader()
protected void printLinkToMainTree()
protected void printPackageTreeFooter()
protected void navLinkPrevious()
navLinkPrevious in class HtmlDocletWriterprotected void navLinkNext()
navLinkNext 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 | ||||||||