public class SuppressAnalyzer extends Analyzer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMENT_PREFIX
keyword in XML comments to suppress a rule violation
|
Constructor and Description |
---|
SuppressAnalyzer() |
Modifier and Type | Method and Description |
---|---|
void |
enter(AuditContext context,
org.w3c.dom.Comment comment)
Invoked during audit traversel when a XML Comment Node is encountered.
|
cancel, isApplicationContentSupported, isCancelled, isEnabled, review, setEnabled, startTask
public static final java.lang.String COMMENT_PREFIX
public void enter(AuditContext context, org.w3c.dom.Comment comment)
context
- current AuditContextcomment
- XML Comment Node being audited