Interface SearchCompiler.SimpleMatchFactory
- All Superinterfaces:
SearchCompiler.MatchFactory
- All Known Implementing Classes:
SearchCompiler.CoreSimpleMatchFactory
- Enclosing class:
- SearchCompiler
A factory for getting
SearchCompiler.Match objects-
Method Summary
Modifier and TypeMethodDescriptionget(String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer) Get theSearchCompiler.MatchobjectMethods inherited from interface org.openstreetmap.josm.data.osm.search.SearchCompiler.MatchFactory
getKeywords
-
Method Details
-
get
SearchCompiler.Match get(String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer) throws SearchParseError Get theSearchCompiler.Matchobject- Parameters:
keyword- The keyword to get/create the correctSearchCompiler.MatchobjectcaseSensitive-trueif the search is case-sensitiveregexSearch-trueif the search is regex-basedtokenizer- May be used to construct theSearchCompiler.Matchobject- Returns:
- The
SearchCompiler.Matchobject for the keyword and its arguments - Throws:
SearchParseError- If theSearchCompiler.Matchobject could not be constructed.
-