Package org.apache.any23.validator.rule
Class MissingOpenGraphNamespaceRule
- java.lang.Object
-
- org.apache.any23.validator.rule.MissingOpenGraphNamespaceRule
-
- All Implemented Interfaces:
Rule
public class MissingOpenGraphNamespaceRule extends Object implements Rule
This rule detects the issue of missing Open Graph namespace.- Author:
- Michele Mostarda (mostarda@fbk.eu), Davide Palmisano (palmisano@fbk.eu)
- See Also:
OpenGraphNamespaceFix
-
-
Constructor Summary
Constructors Constructor Description MissingOpenGraphNamespaceRule()
-
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()
-
-
-
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.
-
-