You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by robert burrell donkin <ro...@blueyonder.co.uk> on 2003/04/24 17:55:37 UTC

Re: [digester] Is there a way to populate bean using XML rules in one statement

hi steve

this all depends on how your mapping works :)

SetPropertiesRule will populate all the properties on a bean from an 
element's attributes. if you want anything more complex, then you may want 
to take a look at betwixt which builds on digester but specializes in 
automated bean<->xml mapping.

- robert

On Thursday, April 24, 2003, at 03:37 PM, Shvets, Steve wrote:

> Hi,
>
> I was just wondering is there a way to populate a Bean with one XML rule
>
> I guess I am looking for XML BeanPropertySetterRule
>
> Can anyone give me an example....
>
> Any help is greatly appreciated...
>
> Thank you Steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>