/** * Gets an Iterator of all the methods of the AllowEventsHeader. Returns an empty * * Iterator if no methods are defined in this AllowEvents Header. * * * * @return Iterator of String objects each identifing the methods of * * AllowEventsHeader. * * */ public ListIterator<String> getMethods() { ListIterator<AllowEvents> li = super.hlist.listIterator(); LinkedList<String> ll = new LinkedList<String> (); while (li.hasNext()) { AllowEvents allowEvents = (AllowEvents) li.next(); ll.add(allowEvents.getEventType()); } return ll.listIterator(); }