public class XMLRuleDefinition extends Object implements RuleDefinition
| Constructor and Description |
|---|
XMLRuleDefinition(String prefix,
Rule rule) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
rule category
|
String |
getDescription()
a description
|
List<Example> |
getExamples()
examples of this errors catch by this rule
|
String |
getGroup()
rule group
|
String |
getId()
prefixed identifier
|
String |
getMessage()
long error message generated by this rule
|
Pattern |
getPattern() |
RuleType |
getRuleType()
short error message generated by this rule
|
String |
getShortMessage()
short error message generated by this rule
|
boolean |
isXMLBased()
True if this definition is from a XML based rule.
|
public String getId()
RuleDefinitiongetId in interface RuleDefinitionpublic String getCategory()
RuleDefinitiongetCategory in interface RuleDefinitionpublic String getGroup()
RuleDefinitiongetGroup in interface RuleDefinitionpublic String getDescription()
RuleDefinitiongetDescription in interface RuleDefinitionpublic String getMessage()
RuleDefinitiongetMessage in interface RuleDefinitionpublic String getShortMessage()
RuleDefinitiongetShortMessage in interface RuleDefinitionpublic List<Example> getExamples()
RuleDefinitiongetExamples in interface RuleDefinitionpublic Pattern getPattern()
public RuleType getRuleType()
RuleDefinitiongetRuleType in interface RuleDefinitionpublic boolean isXMLBased()
RuleDefinitionisXMLBased in interface RuleDefinitionCopyright © 2012–2017 CoGrOO. All rights reserved.