code: public static Report loadReport(String xml) throws LoadReportException {
  		try {
  			String convertedXml = ConverterChain.applyFromXml(xml);
  			XStream xstream = XStreamFactory.createXStream();
  			return (Report) xstream.fromXML(convertedXml);
  		} catch (ConverterException ex) {
  			LOG.error(ex.getMessage(), ex);
  			throw new LoadReportException(ex.getMessage(), ex);
  		}
  	}
docs: Create a report object from xml Do a conversion if it is needed
  
  @since 5.2
  
  @param xml
  xml text
  @return the report object created from xml or null if cannot be read
  @throws LoadReportException
  if report object cannot be created