printWriter.flush(); } protected void write(Comment node) { printWriter.print("<!--"); //$NON-NLS-1$ String comment = node.getNodeValue(); if (comment != null && comment.length() > 0) { printWriter.print(comment); } printWriter.print("-->"); //$NON-NLS-1$ printWriter.flush(); } }