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
|