Package org.apache.any23.validator
Interface Fix
-
- All Known Implementing Classes:
MetaNameMisuseFix
,MissingItemscopeAttributeValueFix
,OpenGraphNamespaceFix
public interface Fix
This interface models a fix for an issue.- Author:
- Michele Mostarda (mostarda@fbk.eu), Davide Palmisano (palmisano@fbk.eu)
- See Also:
Rule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(Rule rule, RuleContext context, DOMDocument document)
Executes this fix over a document.String
getHRName()
-
-
-
Method Detail
-
getHRName
String getHRName()
- Returns:
- the human readable name for this fix.
-
execute
void execute(Rule rule, RuleContext context, DOMDocument document)
Executes this fix over a document.- Parameters:
rule
- the rule triggering this fix.context
- the rule context for this fix.document
- the document to apply this fix.
-
-