| Modifier and Type | Field and Description |
|---|---|
| private SortedSet | |
| private final BodyContents | |
| private static final int | |
| private static final int | |
| protected PackageElement | packageElement
The package being documented. |
| private List | |
| private final HtmlTree | section
The HTML element for the section tag being written. |
| Access | Constructor and Description |
|---|---|
| public | PackageWriter(HtmlConfiguration
the configuration of the doclet. configuration, PackageElement PackageElement under consideration. packageElement)Constructor to construct PackageWriter object and to generate "package-summary.html" file in the respective package directory. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAllClassesAndInterfacesSummary(Content
the content to which the links will be added target)Add all types to the content. |
| public void | addDeprecationInfo(Content
the content to which the deprecation information will be added div)Add the package deprecation information to the documentation tree. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | buildAllClassesAndInterfacesSummary(Content
the list of summaries to which the summary will be added summariesList)Builds the summary for all classes and interfaces in this package. |
| protected void | |
| protected void | buildPackageDescription(Content
the content to which the package description will
be added packageContent)Build the description of the summary. |
| protected void | |
| protected void | buildPackageTags(Content
the content to which the package tags will be added packageContent)Build the tags of the summary. |
| public void | buildPage()
Implements abstract jdk. The top-level method to generate and write the page represented by this writer. |
| protected void | buildRelatedPackagesSummary(Content
the list of summaries to which the summary will be added summariesList)Builds a list of "nearby" packages (subpackages, superpackages, and sibling packages). |
| protected void | buildSummary(Content
the package content to which the summaries will
be added packageContent)Builds the list of summaries for the different kinds of types in this package. |
| private void | |
| private SortedSet | |
| private List | |
| private List | |
| protected Content | |
| protected Content | |
| protected Content | |
| protected Content | |
| private boolean | |
| public boolean | isIndexable()
Overrides jdk. Returns true if the page written by this writer should be indexed, false otherwise. |
| protected void |
| allClasses | back to summary |
|---|---|
| private SortedSet<TypeElement> allClasses | |
| bodyContents | back to summary |
|---|---|
| private final BodyContents bodyContents | |
| MAX_SIBLING_PACKAGES | back to summary |
|---|---|
| private static final int MAX_SIBLING_PACKAGES | |
| MAX_SUBPACKAGES | back to summary |
|---|---|
| private static final int MAX_SUBPACKAGES | |
| packageElement | back to summary |
|---|---|
| protected PackageElement packageElement The package being documented. | |
| relatedPackages | back to summary |
|---|---|
| private List<PackageElement> relatedPackages | |
| section | back to summary |
|---|---|
| private final HtmlTree section The HTML element for the section tag being written. | |
| PackageWriter | back to summary |
|---|---|
| public PackageWriter(HtmlConfiguration configuration, PackageElement packageElement) 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.
| |
| addAllClassesAndInterfacesSummary | back to summary |
|---|---|
| public void addAllClassesAndInterfacesSummary(Content target) Add all types to the content.
| |
| addDeprecationInfo | back to summary |
|---|---|
| public void addDeprecationInfo(Content div) Add the package deprecation information to the documentation tree.
| |
| addPackageContent | back to summary |
|---|---|
| protected void addPackageContent(Content packageContent) | |
| addPackageDescription | back to summary |
|---|---|
| protected void addPackageDescription(Content packageContent) | |
| addPackageFooter | back to summary |
|---|---|
| protected void addPackageFooter() | |
| addPackageSignature | back to summary |
|---|---|
| protected void addPackageSignature(Content packageContent) | |
| addPackageTags | back to summary |
|---|---|
| protected void addPackageTags(Content packageContent) | |
| addRelatedPackagesSummary | back to summary |
|---|---|
| protected void addRelatedPackagesSummary(Content summaryContent) | |
| addRelatedPackageSummary | back to summary |
|---|---|
| protected void addRelatedPackageSummary(TableHeader tableHeader, Content summaryContent, boolean showModules) | |
| buildAllClassesAndInterfacesSummary | back to summary |
|---|---|
| protected void buildAllClassesAndInterfacesSummary(Content summariesList) Builds the summary for all classes and interfaces in this package.
| |
| buildContent | back to summary |
|---|---|
| protected void buildContent() Build the content for the package. | |
| buildPackageDescription | back to summary |
|---|---|
| protected void buildPackageDescription(Content packageContent) Build the description of the summary.
| |
| buildPackageDoc | back to summary |
|---|---|
| protected void buildPackageDoc() throws DocletException Build the package documentation.
| |
| buildPackageTags | back to summary |
|---|---|
| protected void buildPackageTags(Content packageContent) Build the tags of the summary.
| |
| 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.
| |
| buildRelatedPackagesSummary | back to summary |
|---|---|
| protected void buildRelatedPackagesSummary(Content summariesList) Builds a list of "nearby" packages (subpackages, superpackages, and sibling packages).
| |
| buildSummary | back to summary |
|---|---|
| protected void buildSummary(Content packageContent) Builds the list of summaries for the different kinds of types in this package.
| |
| computePackageData | back to summary |
|---|---|
| private void computePackageData() | |
| filterClasses | back to summary |
|---|---|
| private SortedSet | |
| filterPackages | back to summary |
|---|---|
| private List | |
| findRelatedPackages | back to summary |
|---|---|
| private List | |
| getContentHeader | back to summary |
|---|---|
| protected Content getContentHeader() | |
| getPackageHeader | back to summary |
|---|---|
| protected Content getPackageHeader() | |
| getPackageSummary | back to summary |
|---|---|
| protected Content getPackageSummary(Content summaryContent) | |
| getSummariesList | back to summary |
|---|---|
| protected Content getSummariesList() | |
| hasRelatedPackagesInOtherModules | back to summary |
|---|---|
| private boolean hasRelatedPackagesInOtherModules(List<PackageElement> relatedPackages) | |
| 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.
| |
| printDocument | back to summary |
|---|---|
| protected void printDocument(Content content) throws DocFileIOException | |