commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <>
Subject Re: [digester] populating beans fixed to BeanUtils?
Date Tue, 21 Oct 2003 22:46:37 GMT
On Wed, 2003-10-22 at 11:27, Ricky Panaglucci wrote:
> hello,
> is it by design, that SetPropertyRule and
> SetPropertiesRule use BeanUtils.populate()?
> it would be usefull to use other binders as well.

Well, the term "property" in the name of these rules is intended to
refer to the definition of a JavaBean property as per the official
JavaBean specification.

The BeanUtils library implements that specification, so there doesn't
seem to be much need for allowing the user to configure alternate

If you do wish to map xml attributes to class methods in a way other
than the JavaBean spec defines, you can always create your own rule,
which uses some other algorithm for determining which method to invoke
on an object given an xml attribute or element name.

What "other binder" do you have in mind?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message