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
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
KonstruktorBeschreibungModuleWriterImpl
(HtmlConfiguration configuration, ModuleElement mdle) Constructor to construct ModuleWriter object and to generate “moduleName-summary.html” file. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Add the module deprecation information to the documentation tree.void
addIndirectPackages
(Table<?> table, Map<ModuleElement, SortedSet<PackageElement>> ip) Add the indirect packages for the module being documented.void
addModuleContent
(Content source) Adds the module content to the documentation.void
addModuleDescription
(Content moduleContent) Adds the module description.void
Adds the footer to the documentation.void
addModuleSignature
(Content moduleContent) Adds the module signature.void
addModulesSummary
(Content summariesList) Adds the summary of modules to the list of summaries.void
Add the module package deprecation information to the documentation tree.void
addPackagesSummary
(Content summariesList) Adds the summary of packages to the list of summaries.void
Add the package summary for the module.void
addProvidesList
(Table<?> table) Add the provides list for the module.void
addServicesSummary
(Content summariesList) Adds the summary of services to the list of summaries.void
addSummaryHeader
(Content startMarker, Content heading, Content target) Add the summary header.void
addUsesList
(Table<?> table) Add the uses list for the module.void
Compute the modules data that will be displayed in various tables on the module summary page.boolean
Returns true if there are elements to be displayed.boolean
Returns 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 Navigation
getNavBar
(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.void
printDocument
(Content content) Print the module summary document.boolean
shouldDocument
(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:ModuleSummaryWriter
Get the header for the summary.- Angegeben von:
getModuleHeader
in SchnittstelleModuleSummaryWriter
- Parameter:
heading
- module name.- Gibt zurück:
- the header to be added to the content
-
getContentHeader
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriter
Get the header for the module content.- Angegeben von:
getContentHeader
in SchnittstelleModuleSummaryWriter
- Gibt zurück:
- the module content header
-
getSummariesList
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriter
Get the header for the summary header.- Angegeben von:
getSummariesList
in SchnittstelleModuleSummaryWriter
- Gibt zurück:
- the summary header
-
getSummary
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriter
Wrap the content into summary section.- Angegeben von:
getSummary
in 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:ModuleSummaryWriter
Adds the summary of modules to the list of summaries.- Angegeben von:
addModulesSummary
in SchnittstelleModuleSummaryWriter
- Parameter:
summariesList
- the list of summaries
-
addPackagesSummary
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriter
Adds the summary of packages to the list of summaries.- Angegeben von:
addPackagesSummary
in 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:ModuleSummaryWriter
Adds the summary of services to the list of summaries.- Angegeben von:
addServicesSummary
in 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:ModuleSummaryWriter
Adds the module description.- Angegeben von:
addModuleDescription
in SchnittstelleModuleSummaryWriter
- Parameter:
moduleContent
- the content to which the module description will be added
-
addModuleSignature
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriter
Adds the module signature.- Angegeben von:
addModuleSignature
in SchnittstelleModuleSummaryWriter
- Parameter:
moduleContent
- the content to which the module signature will be added
-
addModuleContent
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriter
Adds the module content to the documentation.- Angegeben von:
addModuleContent
in SchnittstelleModuleSummaryWriter
- Parameter:
source
- the content that will be added
-
printDocument
Beschreibung aus Schnittstelle kopiert:ModuleSummaryWriter
Print the module summary document.- Angegeben von:
printDocument
in 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
-