|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rule | |
---|---|
org.apache.any23.validator | TODO fillme |
org.apache.any23.validator.rule |
Uses of Rule in org.apache.any23.validator |
---|
Methods in org.apache.any23.validator that return Rule | |
---|---|
Rule |
ValidationReport.RuleError.getOrigin()
|
Methods in org.apache.any23.validator that return types with arguments of type Rule | |
---|---|
List<Class<? extends Rule>> |
Validator.getAllRules()
Returns all the registered rules. |
List<Class<? extends Rule>> |
DefaultValidator.getAllRules()
|
Methods in org.apache.any23.validator with parameters of type Rule | |
---|---|
void |
Fix.execute(Rule rule,
RuleContext context,
DOMDocument document)
Executes this fix over a document. |
void |
ValidationReportBuilder.reportRuleError(Rule r,
Exception e,
String msg)
Reports an error occurred while executing a Rule . |
void |
DefaultValidationReportBuilder.reportRuleError(Rule r,
Exception e,
String msg)
|
void |
ValidationReportBuilder.traceRuleActivation(Rule r)
Traces that a rule has been applied. |
void |
DefaultValidationReportBuilder.traceRuleActivation(Rule r)
|
Method parameters in org.apache.any23.validator with type arguments of type Rule | |
---|---|
void |
Validator.addRule(Class<? extends Rule> rule)
Allows to register a new rule to this validator |
void |
DefaultValidator.addRule(Class<? extends Rule> rule)
|
void |
Validator.addRule(Class<? extends Rule> rule,
Class<? extends Fix> fix)
Allows to register a new rule to this validator and associating it to a fix. |
void |
DefaultValidator.addRule(Class<? extends Rule> rule,
Class<? extends Fix> fix)
|
List<Class<? extends Fix>> |
Validator.getFixes(Class<? extends Rule> rule)
Returns all fixes registered for the give rule. |
List<Class<? extends Fix>> |
DefaultValidator.getFixes(Class<? extends Rule> rule)
|
void |
Validator.removeRule(Class<? extends Rule> rule)
Allows to remove a rule from the validator and all the related Fix es. |
void |
DefaultValidator.removeRule(Class<? extends Rule> rule)
|
Constructors in org.apache.any23.validator with parameters of type Rule | |
---|---|
ValidationReport.RuleActivation(Rule r)
|
|
ValidationReport.RuleError(Rule r,
Exception e,
String msg)
|
Uses of Rule in org.apache.any23.validator.rule |
---|
Classes in org.apache.any23.validator.rule that implement Rule | |
---|---|
class |
AboutNotURIRule
This rule is able to detect whether an about value is a valid URL or otherwise is a valid relative URL. |
class |
MetaNameMisuseRule
Checks whether the meta attribute name is used to contain a property. |
class |
MissingOpenGraphNamespaceRule
This rule detects the issue of missing Open Graph namespace. |
Methods in org.apache.any23.validator.rule with parameters of type Rule | |
---|---|
void |
OpenGraphNamespaceFix.execute(Rule rule,
RuleContext context,
DOMDocument document)
|
void |
MetaNameMisuseFix.execute(Rule rule,
RuleContext context,
DOMDocument document)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |