Package org.jdrupes.mdoclet.internal.doclets.toolkit.taglets


package org.jdrupes.mdoclet.internal.doclets.toolkit.taglets
This package has classes used to generate output for Javadoc tags.

Doclets no longer have to implement their own version of standard tags such as @param and @throws. Individual taglets provide common processing, independent of the output format. Each doclet must have a taglet writer that takes a taglet as input and writes doclet-dependent output. The taglet itself will do the tag processing. For example, suppose we are outputting @throws tags. The taglet would:

  • Retrieve the list of throws tags to be documented.
  • Replace {@inheritDoc} with the appropriate documentation.
  • Add throws documentation for exceptions that are declared in the signature of the method but not documented with the throws tags.
After doing the steps above, the taglet would pass the information to the taglet writer for writing. The taglets are essentially builders for tags.