commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Mistroni" <>
Subject RE: [digester] create parent from child node value
Date Tue, 20 Dec 2005 17:02:21 GMT
	I haven't used digester since some time (approx 1 year) , but I am
not 100% sure
That you can create Objects by passing parameters...

At least in all examples that I have seen, all JB that were going to be
Populated via Digester from XML had an empty constructor

Will it be an option to use an empty constructor and call a  setXX method
On your objects?


-----Original Message-----
From: Valerio Schiavoni [] 
Sent: 20 December 2005 16:39
Subject: [digester] create parent from child node value

 say I have this simple xml:

for any element 'a' a new object of type A must be istantiated, passing in
it's 1-param constructor the value testB.
Is this possible?


To Iterate is Human, to Recurse, Divine
James O. Coplien, Bell Labs

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

View raw message