commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shvets, Steve" <sshv...@ubspw.com>
Subject RE: [digester] Is there a way to populate bean using XML rules in one statement
Date Thu, 24 Apr 2003 16:02:57 GMT
I was just hoping to
populate all the properties on a bean from an 
element's text...I thought BeanPropertySetterRule is for that purpose...Is
there an alternative xml rule

thank you so much for replying
I will look into betwixt too...

-----Original Message-----
From: robert burrell donkin
[mailto:robertburrelldonkin@blueyonder.co.uk]
Sent: Thursday, April 24, 2003 11:56 AM
To: Jakarta Commons Users List
Subject: 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org

Mime
View raw message