Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 17 jdk.javadoc.jmod - Java Document Tool
JDK 17 jdk.javadoc.jmod is the JMOD file for JDK 17 Java Document tool,
which can be invoked by the "javadoc" command.
JDK 17 Java Document tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.javadoc.jmod.
JDK 17 Java Document tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Java Document tool source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.javadoc.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/javadoc/internal/doclets/toolkit/builders/PackageSummaryBuilder.java
/*
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package jdk.javadoc.internal.doclets.toolkit.builders;
import javax.lang.model.element.PackageElement;
import jdk.javadoc.internal.doclets.toolkit.Content;
import jdk.javadoc.internal.doclets.toolkit.DocFilesHandler;
import jdk.javadoc.internal.doclets.toolkit.DocletException;
import jdk.javadoc.internal.doclets.toolkit.PackageSummaryWriter;
/**
* Builds the summary for a given package.
*
* <p><b>This is NOT part of any supported API.
* If you write code that depends on this, you do so at your own risk.
* This code and its internal interfaces are subject to change or
* deletion without notice.</b>
*/
public class PackageSummaryBuilder extends AbstractBuilder {
/**
* The package being documented.
*/
private final PackageElement packageElement;
/**
* The doclet specific writer that will output the result.
*/
private final PackageSummaryWriter packageWriter;
/**
* Construct a new PackageSummaryBuilder.
*
* @param context the build context.
* @param pkg the package being documented.
* @param packageWriter the doclet specific writer that will output the
* result.
*/
private PackageSummaryBuilder(Context context,
PackageElement pkg,
PackageSummaryWriter packageWriter) {
super(context);
this.packageElement = pkg;
this.packageWriter = packageWriter;
}
/**
* Construct a new PackageSummaryBuilder.
*
* @param context the build context.
* @param pkg the package being documented.
* @param packageWriter the doclet specific writer that will output the
* result.
*
* @return an instance of a PackageSummaryBuilder.
*/
public static PackageSummaryBuilder getInstance(Context context,
PackageElement pkg, PackageSummaryWriter packageWriter) {
return new PackageSummaryBuilder(context, pkg, packageWriter);
}
/**
* Build the package summary.
*
* @throws DocletException if there is a problem while building the documentation
*/
@Override
public void build() throws DocletException {
if (packageWriter == null) {
//Doclet does not support this output.
return;
}
buildPackageDoc();
}
/**
* Build the package documentation.
*
* @throws DocletException if there is a problem while building the documentation
*/
protected void buildPackageDoc() throws DocletException {
Content contentTree = packageWriter.getPackageHeader();
buildContent();
packageWriter.addPackageFooter();
packageWriter.printDocument(contentTree);
DocFilesHandler docFilesHandler = configuration
.getWriterFactory()
.getDocFilesHandler(packageElement);
docFilesHandler.copyDocFiles();
}
/**
* Build the content for the package.
*
* @throws DocletException if there is a problem while building the documentation
*/
protected void buildContent() throws DocletException {
Content packageContentTree = packageWriter.getContentHeader();
packageWriter.addPackageSignature(packageContentTree);
buildPackageDescription(packageContentTree);
buildPackageTags(packageContentTree);
buildSummary(packageContentTree);
packageWriter.addPackageContent(packageContentTree);
}
/**
* Builds the list of summaries for the different kinds of types in this package.
*
* @param packageContentTree the package content tree to which the summaries will
* be added
* @throws DocletException if there is a problem while building the documentation
*/
protected void buildSummary(Content packageContentTree) throws DocletException {
Content summariesList = packageWriter.getSummariesList();
buildRelatedPackagesSummary(summariesList);
buildAllClassesAndInterfacesSummary(summariesList);
packageContentTree.add(packageWriter.getPackageSummary(summariesList));
}
/**
* Builds a list of "nearby" packages (subpackages, super and sibling packages).
*
* @param summariesList the list of summaries to which the summary will be added
*/
protected void buildRelatedPackagesSummary(Content summariesList) {
packageWriter.addRelatedPackagesSummary(summariesList);
}
/**
* Builds the summary for all classes and interfaces in this package.
*
* @param summariesList the list of summaries to which the summary will be added
*/
protected void buildAllClassesAndInterfacesSummary(Content summariesList) {
packageWriter.addAllClassesAndInterfacesSummary(summariesList);
}
/**
* Build the description of the summary.
*
* @param packageContentTree the tree to which the package description will
* be added
*/
protected void buildPackageDescription(Content packageContentTree) {
if (options.noComment()) {
return;
}
packageWriter.addPackageDescription(packageContentTree);
}
/**
* Build the tags of the summary.
*
* @param packageContentTree the tree to which the package tags will be added
*/
protected void buildPackageTags(Content packageContentTree) {
if (options.noComment()) {
return;
}
packageWriter.addPackageTags(packageContentTree);
}
}
⏎ jdk/javadoc/internal/doclets/toolkit/builders/PackageSummaryBuilder.java
Or download all of them as a single archive file:
File name: jdk.javadoc-17.0.5-src.zip File size: 587730 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jcmd.jmod - JCmd Tool
2023-08-17, ≈36🔥, 0💬
Popular Posts:
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
ANTLR is a powerful parser generator for multiple programming languages including Java. ANTLR contai...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...