Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.pmd
Interface RuleChainVisitor

All Known Implementing Classes:
  AbstractRuleChainVisitor, JavaRuleChainVisitor, JspRuleChainVisitor

    public interface RuleChainVisitor

The RuleChainVisitor understands how to visit an AST for a particular Language.

Method Summary
`void` | `add(RuleSet ruleSet, Rule rule)` Add the given rule to the visitor.
`void` | `visitAll(java.util.List<CompilationUnit> astCompilationUnits, RuleContext ctx)` Visit all the given ASTCompilationUnits provided using the given RuleContext.

Method Detail

### add

    void add(RuleSet ruleSet,
             Rule rule)

  Add the given rule to the visitor.

  Parameters:
    `ruleSet` - The RuleSet to which the rule belongs.
    `rule` - The rule to add.

### visitAll

    void visitAll(java.util.List<CompilationUnit> astCompilationUnits,
                  RuleContext ctx)

  Visit all the given ASTCompilationUnits provided using the given RuleContext. Every Rule added will visit the AST as appropriate.

  Parameters:
    `astCompilationUnits` - The ASTCompilationUnits to visit.
    `ctx` - The RuleContext.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2009 InfoEther. All Rights Reserved.