rat.document.impl.util
Class ConditionalAnalyser

java.lang.Object
  extended by rat.document.impl.util.ConditionalAnalyser
All Implemented Interfaces:
IDocumentAnalyser, IDocumentMatcher

public class ConditionalAnalyser
extends java.lang.Object
implements IDocumentMatcher, IDocumentAnalyser

Analyses documents matching given condition.


Constructor Summary
ConditionalAnalyser(IDocumentMatcher matcher, IDocumentAnalyser analyser)
           
 
Method Summary
 void analyse(IDocument document)
           
 boolean matches(IDocument document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalAnalyser

public ConditionalAnalyser(IDocumentMatcher matcher,
                           IDocumentAnalyser analyser)
Method Detail

matches

public boolean matches(IDocument document)
                throws RatDocumentAnalysisException
Specified by:
matches in interface IDocumentMatcher
Throws:
RatDocumentAnalysisException

analyse

public void analyse(IDocument document)
             throws RatDocumentAnalysisException
Specified by:
analyse in interface IDocumentAnalyser
Throws:
RatDocumentAnalysisException


Copyright © 2006-2010. All Rights Reserved.