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]
# 1
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
dkramera at 2007-7-12 18:09:28 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

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 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3
You can try writing a simple Doclet that receives a RootDoc and stores it in a static variable. Then, execute javadoc programatically using Main.execute() and access the RootDoc from the static variable.-Jamie Ho
jamie_ho2000a at 2007-7-12 18:09:28 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...