private static String getTemplateMetaText(boolean shouldEncode, List<? extends LocalArchivedTemplate.RootDescription> roots) {
    Element element = new Element(ArchivedProjectTemplate.TEMPLATE);
    element.setAttribute(LocalArchivedTemplate.UNENCODED_ATTRIBUTE, String.valueOf(!shouldEncode));

    LocalArchivedTemplate.RootDescription.writeRoots(element, roots);

    return JDOMUtil.writeElement(element);
  }
private static String getTemplateMetaText(boolean shouldEncode, List<? extends LocalArchivedTemplate.RootDescription> roots)