org.apache.any23.validator.rule
Class MetaNameMisuseFix

java.lang.Object
  extended by org.apache.any23.validator.rule.MetaNameMisuseFix
All Implemented Interfaces:
Fix

public class MetaNameMisuseFix
extends Object
implements Fix

Fixes the misuse of the meta name attribute.

Author:
Michele Mostarda (mostarda@fbk.eu), Davide Palmisano (palmisano@fbk.eu)
See Also:
MetaNameMisuseRule

Constructor Summary
MetaNameMisuseFix()
           
 
Method Summary
 void execute(Rule rule, RuleContext context, DOMDocument document)
          Executes this fix over a document.
 String getHRName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaNameMisuseFix

public MetaNameMisuseFix()
Method Detail

getHRName

public String getHRName()
Specified by:
getHRName in interface Fix
Returns:
the human readable name for this fix.

execute

public void execute(Rule rule,
                    RuleContext context,
                    DOMDocument document)
Description copied from interface: Fix
Executes this fix over a document.

Specified by:
execute in interface Fix
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.