org.apache.any23.validator
Interface Fix

All Known Implementing Classes:
MetaNameMisuseFix, 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
 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.


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.