"Volkmann, Mark" <[EMAIL PROTECTED]> wrote on 09/03/2004 06:28:29 AM:
[snip] > Yes, that would certainly work. I'm just thinking that if I have an element > with 20 different child elements, I don't want to create a class for each of > the child elements and have to tell each one to pass its data up to the > parent. I guess what I really want is a way to treat child elements like > attributes are treated ... set methods are automatically called. For > example, I want > > <foo> > <bar>7</bar> > </foo> > > to result in creation of a foo object and the call foo.setBar(7). The Ant tag library does something very similar to this, but using Ant's method naming conventions. -- dIon Gillard, Multitask Consulting
