Comment Event
Fired when a comment section is encountered.
Syntax
public class DefaultXmlEventListener implements XmlEventListener { ... public void comment(XmlCommentEvent e) {} ... } public class XmlCommentEvent { 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.