Package com.thoughtworks.qdox.parser
Interface CommentScanner
-
- All Known Subinterfaces:
JavaLexer
- All Known Implementing Classes:
JFlexLexer
public interface CommentScanner
Classes implementing this interface can trigger the handler for every time it has parsed a comment.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addCommentHandler(CommentHandler handler)
Register this handler as a comment-listener.
-
-
-
Method Detail
-
addCommentHandler
void addCommentHandler(CommentHandler handler)
Register this handler as a comment-listener. If scanner hits a comment, all handlers will be triggered.- Parameters:
handler
- the commentHandler to add to the CommentScanner
-
-