JavaDoc Parser for regular javadocs?

Is there something I can use to parse a JavaDoc so that I can work with it through the standard Doclet interfaces at runtime? Essentially the inverse of a Doclet .

I understand that it would be impossible to write a parser for each Javadoc (since this may be an arbitrary documentation format), but I would be interested to know if there was something similar for the standard Doclet.

+6
source share
1 answer

Doclet is already a javadoc parser. Think of the Doclet as a SAX Parser

Each call to your methods will be provided with the same data as the regular javadoc doclet. Run a subclass of Doclet in the source code and it will present you the documentation via callback methods.

+1
source

All Articles