void (Element element, List<? extends RootDescription> rootDescriptions) { Element rootsElement = new Element(ROOTS_ELEMENT); for (LocalArchivedTemplate.RootDescription description : rootDescriptions) { description.write(rootsElement); } element.addContent(rootsElement); }