org.opensolaris.opengrok.search.context
Class TokenSetMatcher

java.lang.Object
  extended by org.opensolaris.opengrok.search.context.LineMatcher
      extended by org.opensolaris.opengrok.search.context.TokenSetMatcher

public class TokenSetMatcher
extends LineMatcher


Field Summary
 
Fields inherited from class org.opensolaris.opengrok.search.context.LineMatcher
MATCHED, NOT_MATCHED, tagBegin, tagEnd, WAIT
 
Constructor Summary
TokenSetMatcher(java.util.HashSet tokenSet)
           
 
Method Summary
 int match(java.lang.String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenSetMatcher

public TokenSetMatcher(java.util.HashSet tokenSet)
Method Detail

match

public int match(java.lang.String token)
Specified by:
match in class LineMatcher