commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject [Digester] Newbie question
Date Wed, 19 Nov 2003 16:33:53 GMT

I have the following XML:
  <b class="package.class">

The class specified as the attribute of element b has a writeable
property named foo, i.e a public void setFoo(String) method, as well as
a public no-args constructor.  I want digester to

1. When encountering b elements create a new instance of the class
2. Set the attribute named in d to the value named in e.

I think the first part I can do with

digester.addObjectCreate("a/b", null, "class");

But how can I do the second part?


Yoav Shapira
Millennium ChemInformatics

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

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

View raw message