protected void serializeComment(Comment node) throws SAXException {
  if ((fFeatures & COMMENTS) != 0) {
    String data=node.getData();
    if ((fFeatures & WELLFORMED) != 0) {
      isCommentWellFormed(data);
    }
    if (fLexicalHandler != null) {
      if (!applyFilter(node,NodeFilter.SHOW_COMMENT)) {
        return;
      }
      fLexicalHandler.comment(data.toCharArray(),0,data.length());
    }
  }
}

protected void serializeComment ( Comment node ) throws SAXException { if ( ( fFeatures & COMMENTS ) != 0 ) { String data = node . getData ( ) ; if ( ( fFeatures & WELLFORMED ) != 0 ) { isCommentWellFormed ( data ) ; } if ( fLexicalHandler != null ) { if ( ! applyFilter ( node , NodeFilter . SHOW_COMMENT ) ) { return ; } fLexicalHandler . comment ( data . toCharArray ( ) , 0 , data . length ( ) ) ; } } }
serializes a comment node .
