public interface Rule
Fix| Modifier and Type | Method and Description |
|---|---|
boolean |
applyOn(DOMDocument document,
RuleContext context,
ValidationReportBuilder validationReportBuilder)
Applies this rule to the given document.
|
String |
getHRName() |
String getHRName()
boolean applyOn(DOMDocument document, RuleContext context, ValidationReportBuilder validationReportBuilder)
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.Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.