code: public static Report loadConvertedReport(String xml) {
  		XStream xstream = XStreamFactory.createXStream();
  		try {
  			return (Report) xstream.fromXML(xml);
  		} catch (Exception e) {
  			LOG.error(e.getMessage(), e);
  			e.printStackTrace();
  			return null;
  		}
  	}
docs: Create a report object from xml
  
  Use this method if you know your report version does not need any
  conversion from older versions, otherwise see {@link #loadReport(String)}
  
  @param xml
  xml text
  @return the report object created from xml or null if cannot be read