java.lang.Object
jdk.javadoc.doclet.StandardDoclet
- All Implemented Interfaces:
Doclet
public class StandardDoclet extends Object implements Doclet
This doclet generates HTML-formatted documentation for the specified modules,
packages and types.
User-Defined Taglets
The standard doclet supports user-definedtaglets
,
which can be used to generate customized output for user-defined tags
in documentation comments.
Taglets invoked by the standard doclet must return strings from
Taglet.toString
as follows:
- Inline Tags
- The returned string must be
flow content,
or any valid fragment of HTML code that may appear in the body of a document.
There may be additional constraints, depending on how the tag is to be
used in a documentation comment: for example, if the tag may be used
within an inline element such as
<b>
or<i>
, the taglet must not return a string containing block tags, like<h3>
or<p>
. - Block Tags
- The returned string must be suitable content for a definition list,
or
<dl>
element. It will typically be a series of pairs of<dt>
and<dd>
elements.
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description StandardDoclet()
-
Method Summary
Modifier and Type Method Description Set<Doclet.Option>
getSupportedOptions()
Returns all the supported options.Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface jdk.javadoc.doclet.Doclet
getName, getSupportedSourceVersion, init, run
-
Constructor Details
-
StandardDoclet
public StandardDoclet()
-
-
Method Details
-
getSupportedOptions
Description copied from interface:Doclet
Returns all the supported options.- Specified by:
getSupportedOptions
in interfaceDoclet
- Returns:
- a set containing all the supported options, an empty set if none
-