Iterator<? extends XMLWriteable> i = collection.iterator(); while (i.hasNext()) { XMLWriteable obj = i.next();
for (XMLWriteable obj : collection) {
	public static void writeCollection(XMLOutput xmlOutput, Collection<? extends XMLWriteable> collection)			throws IOException {		Iterator<? extends XMLWriteable> i = collection.iterator();		while (i.hasNext()) {			XMLWriteable obj = i.next();			obj.writeXML(xmlOutput);		}	}