// Food lists part of the categories private void createCollection() { MenuXMLParser parser = new MenuXMLParser(); fm = new FoodMenu(); fm = parser.parseXML(this); foodCollection = new LinkedHashMap<String, List<String>>(); for (Category c : fm.getCategories()) { foodCollection.put(c.getName(), c.getStringList()); } }