code: public static XStream createTemplateXStream() {
          XStream xstream = new XStream(new DomDriver("UTF-8"));
          xstream.setMode(XStream.NO_REFERENCES);
          xstream.registerConverter(new FontConverter());
          
          xstream.alias("template", ReportTemplate.class);
          xstream.useAttributeFor(ReportTemplate.class, "version");
          xstream.alias("band-element", BandElement.class);
          xstream.alias("column-band-element", ColumnBandElement.class);
          
          return xstream;
      }
docs: Create XStream for template load/save.
  
  @return XStream