Klasse PackageWriterImpl
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.PackageWriterImpl
- Alle implementierten Schnittstellen:
PackageSummaryWriter
Class to generate file for each package contents in the right-hand
frame.
This will list all the Class Kinds in the package. A click on any class-kind will update the frame with the clicked class-kind page.
-
Feldübersicht
FelderVon 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
KonstruktorenKonstruktorBeschreibungPackageWriterImpl(HtmlConfiguration configuration, PackageElement packageElement) Constructor to construct PackageWriter object and to generate “package-summary.html” file in the respective package directory. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdd all types to the content.voidAdd the package deprecation information to the documentation tree.voidaddPackageContent(Content packageContent) Adds the tag information from the “packages.html” or “package-info.java” file to the documentation.voidaddPackageDescription(Content packageContent) Adds the package description from the “packages.html” file to the documentation.voidAdds the footer to the documentation.voidaddPackageSignature(Content packageContent) Adds the package signature.voidaddPackageSummary(List<PackageElement> packages, Content label, TableHeader tableHeader, Content summaryContent, boolean showModules) voidaddPackageTags(Content packageContent) Adds the tag information from the “packages.html” file to the documentation.voidaddRelatedPackagesSummary(Content summaryContent) Adds the table of related packages to the documentation.Get the header for the package content.protected NavigationgetNavBar(Navigation.PageMode pageMode, Element element) Returns a basic navigation bar for a kind of page and element.Get the header for the summary.getPackageSummary(Content summaryContent) Gets the package summary.Get the header for the package summary.voidprintDocument(Content content) Print the package summary document.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
The package being documented.
-
-
Konstruktordetails
-
PackageWriterImpl
Constructor to construct PackageWriter object and to generate “package-summary.html” file in the respective package directory.For example for package “java.lang” this will generate file “package-summary.html” file in the “java/lang” directory. It will also create “java/lang” directory in the current or the destination directory if it doesn’t exist.
- Parameter:
configuration- the configuration of the doclet.packageElement- PackageElement under consideration.
-
-
Methodendetails
-
getPackageHeader
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterGet the header for the summary.- Angegeben von:
getPackageHeaderin SchnittstellePackageSummaryWriter- Gibt zurück:
- the header to be added to the content
-
getContentHeader
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterGet the header for the package content.- Angegeben von:
getContentHeaderin SchnittstellePackageSummaryWriter- Gibt zurück:
- the package content header
-
addDeprecationInfo
Add the package deprecation information to the documentation tree.- Parameter:
div- the content to which the deprecation information will be added
-
getSummariesList
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterGet the header for the package summary.- Angegeben von:
getSummariesListin SchnittstellePackageSummaryWriter- Gibt zurück:
- the package summary header
-
addRelatedPackagesSummary
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterAdds the table of related packages to the documentation.- Angegeben von:
addRelatedPackagesSummaryin SchnittstellePackageSummaryWriter- Parameter:
summaryContent- the content to which the summaries will be added
-
addAllClassesAndInterfacesSummary
Add all types to the content.- Angegeben von:
addAllClassesAndInterfacesSummaryin SchnittstellePackageSummaryWriter- Parameter:
target- the content to which the links will be added
-
addPackageSummary
public void addPackageSummary(List<PackageElement> packages, Content label, TableHeader tableHeader, Content summaryContent, boolean showModules) -
addPackageDescription
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterAdds the package description from the “packages.html” file to the documentation.- Angegeben von:
addPackageDescriptionin SchnittstellePackageSummaryWriter- Parameter:
packageContent- the content to which the package description will be added
-
addPackageTags
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterAdds the tag information from the “packages.html” file to the documentation.- Angegeben von:
addPackageTagsin SchnittstellePackageSummaryWriter- Parameter:
packageContent- the content to which the package tags will be added
-
addPackageSignature
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterAdds the package signature.- Angegeben von:
addPackageSignaturein SchnittstellePackageSummaryWriter- Parameter:
packageContent- the content to which the package signature will be added
-
addPackageContent
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterAdds the tag information from the “packages.html” or “package-info.java” file to the documentation.- Angegeben von:
addPackageContentin SchnittstellePackageSummaryWriter- Parameter:
packageContent- the package content to be added
-
printDocument
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterPrint the package summary document.- Angegeben von:
printDocumentin SchnittstellePackageSummaryWriter- Parameter:
content- the content that will be printed- Löst aus:
DocFileIOException- if there is a problem while writing the document
-
getPackageSummary
Beschreibung aus Schnittstelle kopiert:PackageSummaryWriterGets the package summary.- Angegeben von:
getPackageSummaryin SchnittstellePackageSummaryWriter- Parameter:
summaryContent- the content representing the package summary- Gibt zurück:
- the package summary
-