public void write(Comment comment) throws SAXException {
  if (lexicalHandler != null) {
    String text=comment.getText();
    char[] chars=text.toCharArray();
    lexicalHandler.comment(chars,0,chars.length);
  }
}

public void write ( Comment comment ) throws SAXException { if ( lexicalHandler != null ) { String text = comment . getText ( ) ; char [ ] chars = text . toCharArray ( ) ; lexicalHandler . comment ( chars , 0 , chars . length ) ; } }
generates sax events for the given comment
