Interface Rule

    • Method Detail

      • getHRName

        String getHRName()
        returns the human readable name for this rule.
      • applyOn

        boolean applyOn​(DOMDocument document,
                        RuleContext<?> context,
                        ValidationReportBuilder validationReportBuilder)
        Applies this rule to the given document.
        document - the target document.
        context - the context used to pass data to an eventual Fix.
        validationReportBuilder - the report builder used to collect rule reporting.
        true if al least an issue is detected, false otherwise.