commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baltz, Kenneth" <>
Subject [Digester]How to populate a HashMap?
Date Wed, 18 Dec 2002 22:05:56 GMT
How would I go about doing the following using Digester?

Given XML as such:
		<title>TITLE TEXT</title>
		<author>AUTHOR TEXT</author>
	<!-- multiple books to follow -->

Assume there's a Book bean with title and author properties.

How can I make the digester read in the books and put them in a HashMap by
title?  I can't see how to pass the object on the top of the stack as an
argument to a method call.

K.C. Baltz

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message