org.opensolaris.opengrok.search.context
Class LineMatcher

java.lang.Object
  extended by org.opensolaris.opengrok.search.context.LineMatcher
Direct Known Subclasses:
PhraseMatcher, PrefixMatcher, SingleTokenMatcher, TokenSetMatcher, WildCardMatcher

public abstract class LineMatcher
extends java.lang.Object

Base class for matching a line against terms


Field Summary
static int MATCHED
           
static int NOT_MATCHED
           
static java.lang.String tagBegin
           
static java.lang.String tagEnd
           
static int WAIT
           
 
Constructor Summary
LineMatcher()
           
 
Method Summary
abstract  int match(java.lang.String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tagBegin

public static java.lang.String tagBegin

tagEnd

public static java.lang.String tagEnd

NOT_MATCHED

public static final int NOT_MATCHED
See Also:
Constant Field Values

MATCHED

public static final int MATCHED
See Also:
Constant Field Values

WAIT

public static final int WAIT
See Also:
Constant Field Values
Constructor Detail

LineMatcher

public LineMatcher()
Method Detail

match

public abstract int match(java.lang.String line)