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.