rat.document.impl.util
Class DocumentMatcherMultiplexer

java.lang.Object
  extended by rat.document.impl.util.DocumentMatcherMultiplexer
All Implemented Interfaces:
IDocumentMatcher

public class DocumentMatcherMultiplexer
extends java.lang.Object
implements IDocumentMatcher

Calls all the matchers in turn until one returns true.


Constructor Summary
DocumentMatcherMultiplexer(IDocumentMatcher[] matchers)
           
 
Method Summary
 boolean matches(IDocument document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentMatcherMultiplexer

public DocumentMatcherMultiplexer(IDocumentMatcher[] matchers)
Method Detail

matches

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


Copyright © 2006-2009. All Rights Reserved.