Comment Event

Fired when a comment section is encountered.

Syntax

public class DefaultRestEventListener implements RestEventListener {
  ...
  public void comment(RestCommentEvent e) {}
  ...
}

public class RestCommentEvent {
  public String text;
}

Remarks

The Comment event is fired whenever a comment section (<!-- ..text... -->) is found in the document.

The full text of the comment is provided by the Text parameter.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8307]