----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


--- On Fri, 12/12/08, John Dous <johnd...@hotmail.com> wrote:

> From: John Dous <johnd...@hotmail.com>
> Subject: [Xdoclet-user]  How to generate classes for each method of a class 
> through Xdoclet?‏
> To: xdoclet-user@lists.sourceforge.net
> Date: Friday, December 12, 2008, 4:09 PM
> Hello there,
> 
> I need to generate java classes for each method of
> a class. For example if I have a classs (Foo.java) with 3
> methods
> (run,stop,execute) I would like to generate 3 Classes
> (Foo_run.java, Foo_stop.java, Foo_execute.java) which
> contain custom code by using Xdoclet. 
> 
> Until
> now I can generate one class for each class. For example if
> I have a
> class (Foo.java) I can generate one other class
> (Foo_generated.java) by
> using a template (foo.xdt).
> 
> Could you tell me how to generate new classes of each
> method of a class through Xdoclet?

I affraid this would require some new development, as this was not 
an issue yet.  In this case you shall go for xdoclet 2 as this is 
still under (more or less) active development. 

However,  if inner class is an option for you,  it would be pretty easy
to solve. 

regards,


      

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to