commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin O'Neill" <>
Subject Re: [betwixt]hiding data members
Date Thu, 22 May 2003 10:47:03 GMT
On Wed, 21 May 2003 13:13:00 -0700, Larry Young wrote:

> Hello,
>          I have a question regarding the Bean <--> XML conversion process.
>          Is there a way to specify which data members (as represented by
> get/set methods) are available for conversion into/outof XML and which
> should be ignored?  I thought I had seen something about this somewhere in
> the docs when I initially looked at the product, but now I can't find it. 
> Basically some mechanism to say which fields are "transient" and which are
> not.

In your .betwixt add:

<hide property="foo"/>


If you don't test then your code is only a collection of bugs which 
apparently behave like a working program. 


View raw message