Element () { final Element runners = new Element("runners"); for (String eachID : myRunnerId2Settings.keySet()) { final RunnerLayout layout = myRunnerId2Settings.get(eachID); final Element runnerElement = new Element("runner"); runnerElement.setAttribute("id", eachID); layout.write(runnerElement); runners.addContent(runnerElement); } return runners; }