How to get RootDoc without writing a Doclet?
I know that a Doclet automatically receives an instance of RootDoc
in the start() method. However, I'd like to write a non-Doclet
class which processes a RootDoc object. Is there any way to get
a RootDoc object outside the context of a Doclet?
I imagine javadoc internally builds up the RootDoc and then
passes it to RootDoc. I guess I'm asking for a way to get
that RootDoc.
Thanks for your help.
[448 byte] By [
tangentzza] at [2007-9-28 19:32:16]

It appears this is not possible, but we have a feature requestfor this:4802073: Accessing a RootDoc from outside a doclet http://developer.java.sun.com/developer/bugParade/bugs/4802073.htmlIs this what you want?-Doug Kramerjavadoc team
From www.jdiff.org, in the README:
"JDiff also includes a script to use the classdoc application from
http://classdoc.sourceforge.net or http://www.jensgulden.de, by Jens Gulden, mail@jensgulden.de,
to call a doclet such as jdiff on a .jar file rather than on source."
The classdoc application generates a RootDoc object, I believe.
~Matt
mdoara at 2007-7-12 18:09:28 >
