}
if (!rawData) {
HashMap<String, String> map;
try {
ResultsReaderXml resultsReader = new ResultsReaderXml(stream);
while ((map = resultsReader.getNextEvent()) != null) {
System.out.println("EVENT:********");
System.out.println(" " + map);
}
resultsReader.close();
} catch (IOException e) {
System.out.println("I/O exception: " + e);
}
}
else {