Klasse PackageTreeWriter
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractTreeWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.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.
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected PackageElement
Package for which tree is to be generated.Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractTreeWriter
classTree
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
comparators, configuration, contents, docPaths, filename, htmlIds, links, mainBodyScript, messages, options, path, pathToRoot, resources, utils, winTitle
-
Konstruktorübersicht
KonstruktorBeschreibungPackageTreeWriter
(HtmlConfiguration configuration, DocPath path, PackageElement packageElement) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
addLinkToAllPackages
(Content target) Add a link to the tree for all the packages.static void
generate
(HtmlConfiguration configuration, PackageElement pkg, boolean noDeprecated) Construct a PackageTreeWriter object and then use it to generate the package tree page.protected void
Generate a separate tree file.protected Navigation
getNavBar
(Navigation.PageMode pageMode, Element element) Returns a basic navigation bar for a kind of page and element.protected HtmlTree
Get the package tree header.Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractTreeWriter
addExtendsImplements, addLevelInfo, addPartialInfo, addTree
Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
addInlineComment, addInlineComment, addInlineDeprecatedComment, addPreQualifiedClassLink, addPreQualifiedClassLink, addPreQualifiedStrongClassLink, addPreviewComment, addPreviewInfo, addPreviewSummary, addSrcLink, addSummaryComment, addSummaryComment, addSummaryDeprecatedComment, addTagsInfo, commentTagsToContent, commentTagsToContent, commentTagsToContent, getAnnotations, getBlockTagOutput, getBlockTagOutput, getBody, getBodyStyle, getCrossClassLink, getCrossModuleLink, getCrossPackageLink, getCurrentPageElement, getDeprecatedPhrase, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getEnclosingPackageName, getFooter, getHeader, getHeader, getLink, getLocalizedPackageName, getModuleLink, getModuleLink, getNavLinkToOverviewTree, getPackageLabel, getPackageLink, getPackageLink, getPackageTableHeader, getPreQualifiedClassLink, getQualifiedClassLink, getTagletWriterInstance, getTagletWriterInstance, getTypeParameterLinks, getWindowTitle, hasSerializationOverviewTags, invalidTagOutput, pathString, pathString, printHtmlDocument, printHtmlDocument, printHtmlDocument, replaceDocRootDir, resolveExternalSpecURI
-
Felddetails
-
packageElement
Package for which tree is to be generated.
-
-
Konstruktordetails
-
PackageTreeWriter
public PackageTreeWriter(HtmlConfiguration configuration, DocPath path, PackageElement packageElement) Constructor.- Parameter:
configuration
- the configurationpath
- the docpath to generate files intopackageElement
- the current package
-
-
Methodendetails
-
generate
public static void generate(HtmlConfiguration configuration, PackageElement pkg, boolean noDeprecated) throws DocFileIOException Construct a PackageTreeWriter object and then use it to generate the package tree page.- Parameter:
configuration
- the configuration for this run.pkg
- Package for which tree file is to be generated.noDeprecated
- If true, do not generate any information for deprecated classes or interfaces.- Löst aus:
DocFileIOException
- if there is a problem generating the package tree page
-
generatePackageTreeFile
Generate a separate tree file.- Löst aus:
DocFileIOException
- if there is a problem generating the package tree file
-
getPackageTreeHeader
Get the package tree header.- Gibt zurück:
- the package tree header
-
addLinkToAllPackages
Add a link to the tree for all the packages.- Parameter:
target
- the content to which the link will be added
-