Klasse ModuleWriterImpl
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.ModuleWriterImpl
- Alle implementierten Schnittstellen:
ModuleSummaryWriter
Class to generate file for each module contents in the right-hand frame.
This will list all the required modules, packages and service types for the module. A click on any of the links will update the frame with the clicked element 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
KonstruktorenKonstruktorBeschreibungModuleWriterImpl(HtmlConfiguration configuration, ModuleElement mdle) Constructor to construct ModuleWriter object and to generate “moduleName-summary.html” file. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdd the module deprecation information to the documentation tree.voidaddIndirectPackages(Table<?> table, Map<ModuleElement, SortedSet<PackageElement>> ip) Add the indirect packages for the module being documented.voidaddModuleContent(Content source) Adds the module content to the documentation.voidaddModuleDescription(Content moduleContent) Adds the module description.voidAdds the footer to the documentation.voidaddModuleSignature(Content moduleContent) Adds the module signature.voidaddModulesSummary(Content summariesList) Adds the summary of modules to the list of summaries.voidAdd the module package deprecation information to the documentation tree.voidaddPackagesSummary(Content summariesList) Adds the summary of packages to the list of summaries.voidAdd the package summary for the module.voidaddProvidesList(Table<?> table) Add the provides list for the module.voidaddServicesSummary(Content summariesList) Adds the summary of services to the list of summaries.voidaddSummaryHeader(Content startMarker, Content heading, Content target) Add the summary header.voidaddUsesList(Table<?> table) Add the uses list for the module.voidCompute the modules data that will be displayed in various tables on the module summary page.booleanReturns true if there are elements to be displayed.booleanReturns true if there are elements to be displayed.Get the header for the module content.getModuleHeader(String heading) Get the header for the summary.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 header.getSummary(Content source) Wrap the content into summary section.voidprintDocument(Content content) Print the module summary document.booleanshouldDocument(Element element) Returns true if the element should be documented on the module summary page.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
-
mdle
The module being documented.
-
-
Konstruktordetails
-
ModuleWriterImpl
Constructor to construct ModuleWriter object and to generate “moduleName-summary.html” file.- Parameter:
configuration- the configuration of the doclet.mdle- Module under consideration.
-
-
Methodendetails
-
getModuleHeader
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterGet the header for the summary.- Angegeben von:
getModuleHeaderin SchnittstelleModuleSummaryWriter- Parameter:
heading- module name.- Gibt zurück:
- the header to be added to the content
-
getContentHeader
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterGet the header for the module content.- Angegeben von:
getContentHeaderin SchnittstelleModuleSummaryWriter- Gibt zurück:
- the module content header
-
getSummariesList
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterGet the header for the summary header.- Angegeben von:
getSummariesListin SchnittstelleModuleSummaryWriter- Gibt zurück:
- the summary header
-
getSummary
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterWrap the content into summary section.- Angegeben von:
getSummaryin SchnittstelleModuleSummaryWriter- Parameter:
source- the content to wrap into the summary section- Gibt zurück:
- the summary
-
computeModulesData
Compute the modules data that will be displayed in various tables on the module summary page. -
shouldDocument
Returns true if the element should be documented on the module summary page.- Parameter:
element- the element to be checked- Gibt zurück:
- true if the element should be documented
-
display
Returns true if there are elements to be displayed.- Parameter:
section- set of elements- Gibt zurück:
- true if there are elements to be displayed
-
display
Returns true if there are elements to be displayed.- Parameter:
section- map of elements.- Gibt zurück:
- true if there are elements to be displayed
-
addSummaryHeader
Add the summary header.- Parameter:
startMarker- the marker commentheading- the heading for the sectiontarget- the content to which the information is added
-
addModulesSummary
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterAdds the summary of modules to the list of summaries.- Angegeben von:
addModulesSummaryin SchnittstelleModuleSummaryWriter- Parameter:
summariesList- the list of summaries
-
addPackagesSummary
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterAdds the summary of packages to the list of summaries.- Angegeben von:
addPackagesSummaryin SchnittstelleModuleSummaryWriter- Parameter:
summariesList- the list of summaries
-
addPackageSummary
Add the package summary for the module.- Parameter:
li-
-
addIndirectPackages
Add the indirect packages for the module being documented.- Parameter:
table- the table to which the content rows will be addedip- indirect packages to be added
-
addServicesSummary
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterAdds the summary of services to the list of summaries.- Angegeben von:
addServicesSummaryin SchnittstelleModuleSummaryWriter- Parameter:
summariesList- the list of summaries
-
addUsesList
Add the uses list for the module.- Parameter:
table- the table to which the services used will be added
-
addProvidesList
Add the provides list for the module.- Parameter:
table- the table to which the services provided will be added
-
addDeprecationInfo
Add the module deprecation information to the documentation tree.- Parameter:
div- the content to which the deprecation information will be added
-
addModuleDescription
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterAdds the module description.- Angegeben von:
addModuleDescriptionin SchnittstelleModuleSummaryWriter- Parameter:
moduleContent- the content to which the module description will be added
-
addModuleSignature
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterAdds the module signature.- Angegeben von:
addModuleSignaturein SchnittstelleModuleSummaryWriter- Parameter:
moduleContent- the content to which the module signature will be added
-
addModuleContent
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterAdds the module content to the documentation.- Angegeben von:
addModuleContentin SchnittstelleModuleSummaryWriter- Parameter:
source- the content that will be added
-
printDocument
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriterPrint the module summary document.- Angegeben von:
printDocumentin SchnittstelleModuleSummaryWriter- Parameter:
content- the content that will be printed- Löst aus:
DocFileIOException- if there is a problem while writing the document
-
addPackageDeprecationInfo
Add the module package deprecation information to the documentation tree.- Parameter:
li- the content to which the deprecation information will be addedpkg- the PackageDoc that is added
-