Interface SearchCompiler.SimpleMatchFactory
-
- All Superinterfaces:
SearchCompiler.MatchFactory
- All Known Implementing Classes:
SearchCompiler.CoreSimpleMatchFactory
- Enclosing class:
- SearchCompiler
public static interface SearchCompiler.SimpleMatchFactory extends SearchCompiler.MatchFactory
A factory for gettingSearchCompiler.Matchobjects
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchCompiler.Matchget(java.lang.String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer)Get theSearchCompiler.Matchobject-
Methods inherited from interface org.openstreetmap.josm.data.osm.search.SearchCompiler.MatchFactory
getKeywords
-
-
-
-
Method Detail
-
get
SearchCompiler.Match get(java.lang.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.
-
-