public static void saveReport ( Report report , OutputStream out ) { XStream xstream = XStreamFactory . createXStream ( ) ; xstream . toXML ( report , out ) ; }
Write a report object to an output stream