Class SearchCompiler.CoreSimpleMatchFactory
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.CoreSimpleMatchFactory
-
- All Implemented Interfaces:
SearchCompiler.MatchFactory
,SearchCompiler.SimpleMatchFactory
- Enclosing class:
- SearchCompiler
public static class SearchCompiler.CoreSimpleMatchFactory extends Object implements SearchCompiler.SimpleMatchFactory
-
-
Field Summary
Fields Modifier and Type Field Description private Collection<String>
keywords
-
Constructor Summary
Constructors Constructor Description CoreSimpleMatchFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchCompiler.Match
get(String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer)
Collection<String>
getKeywords()
-
-
-
Field Detail
-
keywords
private final Collection<String> keywords
-
-
Constructor Detail
-
CoreSimpleMatchFactory
public CoreSimpleMatchFactory()
-
-
Method Detail
-
get
public SearchCompiler.Match get(String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer) throws SearchParseError
- Specified by:
get
in interfaceSearchCompiler.SimpleMatchFactory
- Throws:
SearchParseError
-
getKeywords
public Collection<String> getKeywords()
- Specified by:
getKeywords
in interfaceSearchCompiler.MatchFactory
-
-