commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <j...@wendysmoak.com>
Subject Re: Need a little help
Date Tue, 01 Feb 2005 19:32:10 GMT
From: "Luke Shannon" <lshannon@futurebrand.com>
> 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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message