132133134135136137138139
writer.openElement("rat-report") .attribute("timestamp", DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT .format(Calendar.getInstance())); } catch (IOException e) { throw new RatException("Cannot open start element", e); } }
141142143144145146147148
@Override public void endReport() throws RatException { try { writer.closeDocument(); } catch (IOException e) { throw new RatException("Cannot close last element", e); } }