commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <>
Subject Re: Need a little help
Date Tue, 01 Feb 2005 19:32:10 GMT
From: "Luke Shannon" <>
> I have done away with the Version.class and decided to build my collection
> of Item maps within the class that calls the digester methods (a full
> description of my code can be seen below). My problem now is using the
> addSetNext method to call a local method.

Why is there a TreeMap inside Item?  It doesn't look [to me] like you need
an Item class at all, you could create a TreeMap when you hit <VERSION> and
add key/value pairs directly to it when you see <ITEM> tags.

You wrote:
> > To review, the end result was to get a TreeMap containing all the name
> > attributes as keys and the contents of the item tags as values from a
> > directory of XML files

Wendy Smoak

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

View raw message