290291292293294295296297298299300
ae.setCustomElements(bCustomXml.toString()); PrintWriter writer = this.getPrintWriter(); synchronized(writer) { try { ae.WriteTo(writer); writer.flush(); } catch(Exception e) { LOG.log(Level.INFO, "Error while flushing writer", e); } }