users@jaxb.java.net

Re: Lack of toString() in generated bean classes?

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 08 Aug 2006 09:06:33 -0700

James Mao wrote:
> Hi folks,
>
> I'm wondering if it's possible for jaxb to generate the toString()
> method for each generated jaxb bean classes?
> Or are there any ways to customizing or to configuring some property to
> achieve this requirement?

I think it would make a great plugin to generate such toString() method
by perhaps using commons-lang ToStringBuilder.

If you feel like writing it, let us know so that we can help.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com