Ejemplo n.º 1
0
  /**
   * Writes the given {@link Comment}.
   *
   * @param comment <code>Comment</code> to output.
   * @throws IOException DOCUMENT ME!
   */
  public void write(Comment comment) throws IOException {
    writeComment(comment.getText());

    if (autoFlush) {
      flush();
    }
  }
Ejemplo n.º 2
0
 /* 191:    */
 /* 192:    */ public void write(Comment comment) /* 193:    */ throws SAXException /* 194:    */ {
   /* 195:298 */ if (this.lexicalHandler != null)
   /* 196:    */ {
     /* 197:299 */ String text = comment.getText();
     /* 198:300 */ char[] chars = text.toCharArray();
     /* 199:301 */ this.lexicalHandler.comment(chars, 0, chars.length);
     /* 200:    */ }
   /* 201:    */ }