Using Hashtable instead of ArrayList

2007-07-16 Thread Steffen Pankratz
Hi, I'm new in this XML and JaxMe topic. I managed to create a XML schema and I can marshal my objects and unmarshal the XML file. My XML file looks like: books book name=book1 bookauthor.../bookauthor /book book name=book2 bookauthor.../bookauthor

Re: Using Hashtable instead of ArrayList

2007-07-16 Thread Jochen Wiedmann
On 7/16/07, Steffen Pankratz [EMAIL PROTECTED] wrote: The class BooksImpl gives me an ArrayList of all the BookImpl objects, which have a method getName(). But I would like to get an Hashtable where the name of a book is the key and the book object itself would be the value. Is this possible