Extending JavaDoc

Is there any way how to extend and use RootDoc, PackageDoc in existing javaDoc.I need to add some information to this documents from different XML files.ThanksTomas
[192 byte] By [safe01a] at [2007-9-27 9:09:26]
# 1
I don't think there's any way for you to do that, as I believe we do not release the source code for RootDoc and PackageDoc.If what you need is universal, perhaps we could add itin a future version.-Doug KramerJavadoc team
dkramera at 2007-7-8 21:36:31 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

I asked Jamie, our doclet programmer, to respond, which is below.

-Doug Kramer

Javadoc team

Jamie's reply:

I am pretty sure that we release the implementations of RootDoc and PackageDoc

with the same source bundle that has the standard doclet. Here are their names:

com.sun.tools.javadoc.RootDocImpl

com.sun.tools.javadoc.PackageDocImpl

However, they cannot be extended because they are package private.

Do you understand what he means by wanting to extend them?

> I need to add some information to this documents from different XML files.

There probably is a way to get the job done without extending classes or

implementing interfaces in Javadoc. It's never a good idea to do this because

Javadoc is not a real API.

-Jamie

dkramera at 2007-7-8 21:36:31 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...