net.sourceforge.pmd.lang.xml.rule
Class XmlRuleViolationFactory

java.lang.Object
  extended by net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
      extended by net.sourceforge.pmd.lang.xml.rule.XmlRuleViolationFactory
All Implemented Interfaces:
RuleViolationFactory

public final class XmlRuleViolationFactory
extends AbstractRuleViolationFactory


Field Summary
static RuleViolationFactory INSTANCE
           
 
Method Summary
protected  RuleViolation createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)
           
protected  RuleViolation createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message, int beginLine, int endLine)
           
 
Methods inherited from class net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
addViolation, addViolation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final RuleViolationFactory INSTANCE
Method Detail

createRuleViolation

protected RuleViolation createRuleViolation(Rule rule,
                                            RuleContext ruleContext,
                                            Node node,
                                            String message)
Specified by:
createRuleViolation in class AbstractRuleViolationFactory

createRuleViolation

protected RuleViolation createRuleViolation(Rule rule,
                                            RuleContext ruleContext,
                                            Node node,
                                            String message,
                                            int beginLine,
                                            int endLine)
Specified by:
createRuleViolation in class AbstractRuleViolationFactory


Copyright © 2002-2015 InfoEther. All Rights Reserved.