Javadoc is a tool that parses the declarations and documentation comments
in a set of source files and produces a set of HTML pages describing
the classes, interfaces, constructors, methods, and fields.
You can use a Javadoc doclet to customize Javadoc output.
A doclet is a program written with the Doclet API that
specifies the content and
format of the output to be generated by the Javadoc tool.
You can write a doclet to generate any kind of text-file output, such as
HTML, SGML, XML, RTF, and MIF. SunTM
provides a "standard"
doclet for generating HTML-format API documentation and an experimental
MIF doclet for generating MIF, PDF, FrameMaker, and other formats.
Doclets can also be used to perform special tasks not related to
producing API documentation.
A taglet is a program that allows you to create and use custom tags
that are more flexible than custom tags created with the -tag option.
A custom tag is used by a doclet to format and display text from
a Javadoc tag. A taglet must implement the taglet interface.
API Specification
Doclet API
- Documentation for the com.sun.javadoc package, which comprises the Doclet API.
Taglet API -
Documentation for the com.sun.tools.doclets.Taglet class, which comprises the Taglet API.
Tools
The following pages list all javadoc tags and command-line options
for running the the Javadoc tool, with examples for Solaris and
Microsoft Windows.
Doclet Overview -
Introduction to doclets with simple examples that illustrate the Doclet API.
Running the Standard Doclet -
This doclet produces the default HTML-formatted API documentation.
Javadoc uses the standard doclet if no other doclet is specified with
Javadoc's -doclet option.
Javadoc FAQ
- Important tips and workarounds for bugs.
Javadoc Forum -
Enter into discussions with fellow developers. You must join the
Java Developer Connection (free) to take part. Click on "Javadoc Tool"
category. This forum is monitored only occasionally by the
Javadoc team. If you want a prompt reply from the Javadoc team, use
the feedback address below.
Javadoc
announcements email group - A public one-way mailing list you
can subscribe to for receiving major announcements about Javadoc tool, the
standard doclet, the MIF doclet, the DocCheck doclet, the localization
doclet, and others. Traffic should be light.