| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | ModuleWriter.
Details about a package in a module. |
| Modifier and Type | Field and Description |
|---|---|
| private final BodyContents | |
| private final Map | indirectModules
Map of indirect modules and modifiers, transitive closure, required by this module. |
| private final Map | indirectOpenPackages
Map of indirect modules (transitive closure) and their open packages. |
| private final Map | indirectPackages
Map of indirect modules (transitive closure) and their exported packages. |
| protected ModuleElement | mdle
The module being documented. |
| private final DocletEnvironment. | moduleMode
The module mode for this javadoc run. |
| private final Map | packages
Map of packages of this module, and details of whether they are exported or opened. |
| private final Map | provides
Map of services provided by this module, and set of its implementations. |
| private final Map | providesTrees
Map of services provided by the module and specified using @provides javadoc tag, and description. |
| private final Map | requires
Map of module elements and modifiers required by this module. |
| private final SortedSet | uses
Set of services used by the module. |
| private final Map | usesTrees
Map of services used by the module and specified using @uses javadoc tag, and description. |
| Access | Constructor and Description |
|---|---|
| public | ModuleWriter(HtmlConfiguration
the configuration of the doclet. configuration, ModuleElement Module under consideration. mdle)Constructor to construct ModuleWriter object and to generate "moduleName-summary.html" file. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addDeprecationInfo(Content
the content to which the deprecation information will be added div)Add the module deprecation information to the documentation tree. |
| public void | addIndirectPackages(Table<?>
the table to which the content rows will be added table, Map<ModuleElement, SortedSet<PackageElement>> indirect packages to be added ip, Predicate<ModuleElement> acceptModule)Add the indirect packages for the module being documented. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| private void | addModulesList(Map<ModuleElement, Content>
map of modules and modifiers mdleMap, Table<?> the table to which the list will be added table)Add the list of modules. |
| protected void | |
| public void | addPackageDeprecationInfo(Content
the content to which the deprecation information will be added li, PackageElement the PackageDoc that is added pkg)Add the module package deprecation information to the documentation tree. |
| protected void | |
| public void | addPackageSummary(HtmlTree
the tree to which the summary will be added li)Add the package summary for the module. |
| public void | addProvidesList(Table<?>
the table to which the services provided will be added table)Add the provides list for the module. |
| protected void | |
| public void | addSummaryHeader(Content
the marker comment startMarker, Content the heading for the section heading, Content the content to which the information is added target)Add the summary header. |
| public void | addUsesList(Table<?>
the table to which the services used will be added table)Add the uses list for the module. |
| protected void | |
| protected void | buildModuleDescription(Content
the content to which the module description will
be added moduleContent)Builds the description for this module. |
| protected void | |
| protected void | buildModulesSummary(Content
the list of summaries to which the summary will be added summariesList)Builds the summary of the module dependencies of this module. |
| protected void | buildPackagesSummary(Content
the list of summaries to which the summary will be added summariesList)Builds the summary of the packages exported or opened by this module. |
| public void | buildPage()
Implements abstract jdk. The top-level method to generate and write the page represented by this writer. |
| protected void | buildServicesSummary(Content
the list of summaries to which the summary will be added summariesList)Builds the summary of the services used or provided by this module. |
| protected void | buildSummary(Content
the module content to which the summaries will
be added target)Builds the list of summary sections for this module. |
| public void | computeModulesData()
Compute the modules data that will be displayed in various tables on the module summary page. |
| public boolean | |
| public boolean | |
| private boolean | |
| private boolean | |
| protected Content | |
| protected Content | |
| private Content | |
| protected Content | |
| protected Content | |
| private Table | Returns: a content objectthe table caption caption, TableHeader the table header tableHeader)Get a table, with two columns. |
| private Table | Returns: a content objectthe table caption caption, TableHeader the table header tableHeader)Get a table, with three columns, with the second column being the defining column. |
| private boolean | |
| private boolean | |
| public boolean | isIndexable()
Overrides jdk. Returns true if the page written by this writer should be indexed, false otherwise. |
| private boolean | |
| protected void | |
| public boolean | Returns: true if the element should be documentedthe element to be checked element)Returns true if the element should be documented on the module summary page. |
| bodyContents | back to summary |
|---|---|
| private final BodyContents bodyContents | |
| indirectModules | back to summary |
|---|---|
| private final Map<ModuleElement, Content> indirectModules Map of indirect modules and modifiers, transitive closure, required by this module. | |
| indirectOpenPackages | back to summary |
|---|---|
| private final Map<ModuleElement, SortedSet<PackageElement>> indirectOpenPackages Map of indirect modules (transitive closure) and their open packages. | |
| indirectPackages | back to summary |
|---|---|
| private final Map<ModuleElement, SortedSet<PackageElement>> indirectPackages Map of indirect modules (transitive closure) and their exported packages. | |
| mdle | back to summary |
|---|---|
| protected ModuleElement mdle The module being documented. | |
| moduleMode | back to summary |
|---|---|
| private final DocletEnvironment. The module mode for this javadoc run. It can be set to "api" or "all". | |
| packages | back to summary |
|---|---|
| private final Map<PackageElement, ModuleWriter. Map of packages of this module, and details of whether they are exported or opened. | |
| provides | back to summary |
|---|---|
| private final Map<TypeElement, SortedSet<TypeElement>> provides Map of services provided by this module, and set of its implementations. | |
| providesTrees | back to summary |
|---|---|
| private final Map<TypeElement, Content> providesTrees Map of services provided by the module and specified using @provides javadoc tag, and description. | |
| requires | back to summary |
|---|---|
| private final Map<ModuleElement, Content> requires Map of module elements and modifiers required by this module. | |
| uses | back to summary |
|---|---|
| private final SortedSet<TypeElement> uses Set of services used by the module. | |
| usesTrees | back to summary |
|---|---|
| private final Map<TypeElement, Content> usesTrees Map of services used by the module and specified using @uses javadoc tag, and description. | |
| ModuleWriter | back to summary |
|---|---|
| public ModuleWriter(HtmlConfiguration configuration, ModuleElement mdle) Constructor to construct ModuleWriter object and to generate "moduleName-summary.html" file.
| |
| addDeprecationInfo | back to summary |
|---|---|
| public void addDeprecationInfo(Content div) Add the module deprecation information to the documentation tree.
| |
| addIndirectPackages | back to summary |
|---|---|
| public void addIndirectPackages(Table<?> table, Map<ModuleElement, SortedSet<PackageElement>> ip, Predicate<ModuleElement> acceptModule) Add the indirect packages for the module being documented.
| |
| addModuleContent | back to summary |
|---|---|
| protected void addModuleContent(Content source) | |
| addModuleDescription | back to summary |
|---|---|
| protected void addModuleDescription(Content moduleContent) | |
| addModuleFooter | back to summary |
|---|---|
| protected void addModuleFooter() | |
| addModuleSignature | back to summary |
|---|---|
| protected void addModuleSignature(Content moduleContent) | |
| addModulesList | back to summary |
|---|---|
| private void addModulesList(Map<ModuleElement, Content> mdleMap, Table<?> table) Add the list of modules.
| |
| addModulesSummary | back to summary |
|---|---|
| protected void addModulesSummary(Content summariesList) | |
| addPackageDeprecationInfo | back to summary |
|---|---|
| public void addPackageDeprecationInfo(Content li, PackageElement pkg) Add the module package deprecation information to the documentation tree.
| |
| addPackagesSummary | back to summary |
|---|---|
| protected void addPackagesSummary(Content summariesList) | |
| addPackageSummary | back to summary |
|---|---|
| public void addPackageSummary(HtmlTree li) Add the package summary for the module.
| |
| addProvidesList | back to summary |
|---|---|
| public void addProvidesList(Table<?> table) Add the provides list for the module.
| |
| addServicesSummary | back to summary |
|---|---|
| protected void addServicesSummary(Content summariesList) | |
| addSummaryHeader | back to summary |
|---|---|
| public void addSummaryHeader(Content startMarker, Content heading, Content target) Add the summary header. | |
| addUsesList | back to summary |
|---|---|
| public void addUsesList(Table<?> table) Add the uses list for the module.
| |
| buildContent | back to summary |
|---|---|
| protected void buildContent() Build the content for the module doc. | |
| buildModuleDescription | back to summary |
|---|---|
| protected void buildModuleDescription(Content moduleContent) Builds the description for this module.
| |
| buildModuleDoc | back to summary |
|---|---|
| protected void buildModuleDoc() throws DocletException Build the module documentation.
| |
| buildModulesSummary | back to summary |
|---|---|
| protected void buildModulesSummary(Content summariesList) Builds the summary of the module dependencies of this module.
| |
| buildPackagesSummary | back to summary |
|---|---|
| protected void buildPackagesSummary(Content summariesList) Builds the summary of the packages exported or opened by this module.
| |
| buildPage | back to summary |
|---|---|
| public void buildPage() throws DocletException Implements abstract jdk. Doc from jdk. The top-level method to generate and write the page represented by this writer.
| |
| buildServicesSummary | back to summary |
|---|---|
| protected void buildServicesSummary(Content summariesList) Builds the summary of the services used or provided by this module.
| |
| buildSummary | back to summary |
|---|---|
| protected void buildSummary(Content target) Builds the list of summary sections for this module.
| |
| computeModulesData | back to summary |
|---|---|
| public void computeModulesData() Compute the modules data that will be displayed in various tables on the module summary page. | |
| display | back to summary |
|---|---|
| public boolean display(Set<? extends Element> section) Returns true if there are elements to be displayed. | |
| display | back to summary |
|---|---|
| public boolean display(Map<? extends Element, ?> section) Returns true if there are elements to be displayed. | |
| displayServiceDirective | back to summary |
|---|---|
| private boolean displayServiceDirective(TypeElement typeElement, Map<TypeElement, Content> tagsMap) | |
| displayServices | back to summary |
|---|---|
| private boolean displayServices(Set<TypeElement> typeElements, Map<TypeElement, Content> tagsMap) | |
| getContentHeader | back to summary |
|---|---|
| protected Content getContentHeader() | |
| getModuleHeader | back to summary |
|---|---|
| protected Content getModuleHeader(String heading) | |
| getPackageExportOpensTo | back to summary |
|---|---|
| private Content getPackageExportOpensTo(Set<ModuleElement> modules) | |
| getSummariesList | back to summary |
|---|---|
| protected Content getSummariesList() | |
| getSummary | back to summary |
|---|---|
| protected Content getSummary(Content source) | |
| getTable2 | back to summary |
|---|---|
| private Table Get a table, with two columns.
| |
| getTable3 | back to summary |
|---|---|
| private Table Get a table, with three columns, with the second column being the defining column.
| |
| isConcealed | back to summary |
|---|---|
| private boolean isConcealed(Element e) | |
| isExported | back to summary |
|---|---|
| private boolean isExported(Element e) | |
| isIndexable | back to summary |
|---|---|
| public boolean isIndexable() Overrides jdk. Doc from jdk. Returns true if the page written by this writer should be indexed, false otherwise. Some pages merely aggregate filtered information available on other pages and, thus, have no indexing value. In fact, if indexed, they would clutter the index and mislead the reader.
| |
| isOpened | back to summary |
|---|---|
| private boolean isOpened(Element e) | |
| printDocument | back to summary |
|---|---|
| protected void printDocument(Content content) throws DocFileIOException | |
| shouldDocument | back to summary |
|---|---|
| public boolean shouldDocument(Element element) Returns true if the element should be documented on the module summary page.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Set | exportedTo
Summary of package exports: If null, the package is not exported to any modules; if empty, the package is exported to all modules; otherwise, the package is exported to these modules. |
| pack-priv Set | openedTo
Summary of package opens: If null, the package is not opened to any modules; if empty, the package is opened to all modules; otherwise, the package is opened to these modules. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| exportedTo | back to summary |
|---|---|
| pack-priv Set<ModuleElement> exportedTo Summary of package exports: If null, the package is not exported to any modules; if empty, the package is exported to all modules; otherwise, the package is exported to these modules. | |
| openedTo | back to summary |
|---|---|
| pack-priv Set<ModuleElement> openedTo Summary of package opens: If null, the package is not opened to any modules; if empty, the package is opened to all modules; otherwise, the package is opened to these modules. | |
| PackageEntry | back to summary |
|---|---|
| pack-priv PackageEntry() | |