On Fri, 2005-08-05 at 22:13, Gerardo wrote: > Thanks Paul, i got the xjavadoc for reference. But i wonder if it is > posible to create a modified version of some class using xjavadoc. > That is because I need to wrap a few lines inside method's body but > can't found how to access such method body. i checked xjavadoc.XMethod > and xjavadoc.MethodImpl but i didn't found the relevant code. > any help will be deeply appreciated.
XJavadoc wasn't designed to expose the code in methods. constructors, etc., just their javadocs (the clue is in the name :-)). If you're just wanting to parse & reformat classes, you'd probably be better off with something like jrefactory or BeautyJ. http://jrefactory.sourceforge.net/ http://beautyj.berlios.de/ Andrew. > > Gerardo > > Paul Galbraith wrote: > > > Gerardo wrote: > > > >> Hi, > >> i'm newbie with xdoclet, could someone tell me how to use the xdoclet > >> template classes programmatically instead of writing a template? > >> > >> thanks > > > > > > I think what you want is to use xjavadoc on its own, rather than using > > xdoclet templates at all. > > > > Check the TemplateSubTask > > (http://cvs.sourceforge.net/viewcvs.py/xdoclet/xdoclet/core/src/xdoclet/TemplateSubTask.java?view=markup) > > > > to see how it uses xjavadoc to get javadoc tag info out of the > > classes. Start with the startProcess() method. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ xdoclet-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
