On Fri, 2004-07-02 at 04:08, Joshua Marinacci wrote: > I was wondering if it would be possible to generate XML files of the > javadocs, or complete java source, using XDoclet.
Javadocs yes, source no. > The documentation > does not seem to indicate a way to do this. I was thinking I could > write a custom template to do it, since there are template hooks to get > the methods, classnames, etc; but wondered if anyone else had > already written such a template, at least for the JavaDocs. I don't know of any existing one, but I guess the todo list generation subtask might give you a starting point; that already generates pages for each package & class and a suitable frameset etc. Just change it to print the signatures & javadoc comments instead of only the @todo values. > For generating XML of the Java source itself I don't see any template > libs which dig into the code deeper than the field / method / argument > level. There aren't any. The xjavadoc parser was only designed for accessing the javadocs, since that's all we needed. > Is it possible to access the actual lines of source via XDoclet, > say to make annotated HTMLs of the source? Anything's possible, I guess, but I don't know how easy it would be. You'd have to adapt xjavadoc to give access to the code as well as the javadocs. What sort of annotations are you thinking of? Maybe there's some other (easier) way to do it? Andrew. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user