Package org.apache.any23.validator.rule
Class MetaNameMisuseRule
- java.lang.Object
-
- org.apache.any23.validator.rule.MetaNameMisuseRule
-
- All Implemented Interfaces:
Rule
public class MetaNameMisuseRule extends Object implements Rule
Checks whether the meta attribute name is used to contain a property.- Author:
- Davide Palmisano (palmisano@fbk.eu), Michele Mostarda (mostarda@fbk.eu)
- See Also:
MetaNameMisuseFix
-
-
Field Summary
Fields Modifier and Type Field Description static String
ERRORED_META_NODES
-
Constructor Summary
Constructors Constructor Description MetaNameMisuseRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applyOn(DOMDocument document, RuleContext context, ValidationReportBuilder validationReportBuilder)
Applies this rule to the given document.String
getHRName()
-
-
-
Field Detail
-
ERRORED_META_NODES
public static final String ERRORED_META_NODES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHRName
public String getHRName()
-
applyOn
public boolean applyOn(DOMDocument document, RuleContext context, ValidationReportBuilder validationReportBuilder)
Description copied from interface:Rule
Applies this rule to the given document.
-
-