commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham, Ryan - WMD" <ryan.gra...@ci.denver.co.us>
Subject RE: [digester] nested element detection
Date Wed, 14 Dec 2005 16:13:34 GMT
> As you've only got a limited set of possible loglevels, I would
suggest
> this:
>   digester.addCallMethod("log/logitem/error", 1, "setType");
>   digester.addObjectParam("log/logitem/error", 0, "error");
>   digester.addSetProperties("log/logitem/error");
>   digester.addCallMethod("log/logitem/error/message", "setMessage");
> Repeat for every possible level.

That did the trick! 

Thanks so much,
Ryan

---------------------------------------------------------------------
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