/** * Persists the elements in the given map as XML elements, appended to the * given xmlElement. * * @param document XML document * @param xmlElement node to append children no * @param elementMap elements to persist */ void persistChildren(Document document, Element xmlElement, Map<IElementDescriptor, ManifestNode> elementMap) { Iterator<ManifestNode> iterator = elementMap.values().iterator(); while (iterator.hasNext()) { ManifestNode node = iterator.next(); node.persistXML(document, xmlElement); } }