org.anadix.impl
Class AnalyzerImpl

java.lang.Object
  extended by org.anadix.impl.AnalyzerImpl
All Implemented Interfaces:
Analyzer

public class AnalyzerImpl
extends Object
implements Analyzer

Implementation of Analyzer class

Version:
$Id: $
Author:
tomason

Constructor Summary
AnalyzerImpl(Parser parser, ConditionSet conditions)
          Constructor
 
Method Summary
 Report analyze(Source source)
          Analyzes give source using parser and condition set instances given to analyzer when it was created
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyzerImpl

public AnalyzerImpl(Parser parser,
                    ConditionSet conditions)
Constructor

Parameters:
parser - - parser used to parse sources
conditions - - set of conditions to evaluate for every source
Method Detail

analyze

public Report analyze(Source source)
Analyzes give source using parser and condition set instances given to analyzer when it was created

Specified by:
analyze in interface Analyzer
Parameters:
source - - source to analyze
Returns:
instance of Report that holds the results of analysis


Copyright © 2011. All Rights Reserved.