users@jaxb.java.net

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

From: James Mao <james.mao_at_iona.com>
Date: Wed, 09 Aug 2006 10:35:42 +0800

Yes, i don't know how to make a plugin for jaxb, do you have any docs
and examples for it?

Thanks,
James.

Kohsuke Kawaguchi 写道:
> 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.
>