"John Keiser" <[EMAIL PROTECTED]> writes:

> But what I need is the full list of packages that need to be written out.
> Can JavaDoc give me that?  I didn't see it.
> 
> The basic problem:
> 
> If the user only specifies he wants class java.lang.Character, then I need
> to write out the package-java_lang.html document as well as
> class-java_lang_Character.html (or whatever naming convention we use), which
> means I need to detect that java.lang is one of the packages to be written
> out.  It seems like this information should be in the API somewhere, but I
> can't find it.  I can grab it from the ClassDoc with some convolutions, but
> I'd rather not if it is in RootDoc somewhere.

I don't think this functionality is present, but it should be pretty
simple to implement.
 
> (Oh, that's the other problem.  There's no getPackageDoc() in ClassDoc, and
> no getRootDoc in PackageDoc.)

There is containingClass() and containingPackage() in
ProgramElementDoc.  It also seems like getRootDoc() is not needed
since there is only one RootDoc.

Also, I responded to an earlier message, but I didn't send it to the
list by mistake.  I have a half-finished JavaDoc driver that I will
try to finish tonight.

-- 
Geoff Berry

Reply via email to