Class SearchCompiler.CoreUnaryMatchFactory
java.lang.Object
org.openstreetmap.josm.data.osm.search.SearchCompiler.CoreUnaryMatchFactory
- All Implemented Interfaces:
SearchCompiler.MatchFactory,SearchCompiler.UnaryMatchFactory
- Enclosing class:
- SearchCompiler
public static class SearchCompiler.CoreUnaryMatchFactory
extends Object
implements SearchCompiler.UnaryMatchFactory
The core
SearchCompiler.UnaryMatch factory-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(String keyword, SearchCompiler.Match matchOperand, PushbackTokenizer tokenizer) Get theSearchCompiler.UnaryMatchobject
-
Field Details
-
keywords
-
-
Constructor Details
-
CoreUnaryMatchFactory
public CoreUnaryMatchFactory()
-
-
Method Details
-
get
public SearchCompiler.UnaryMatch get(String keyword, SearchCompiler.Match matchOperand, PushbackTokenizer tokenizer) Description copied from interface:SearchCompiler.UnaryMatchFactoryGet theSearchCompiler.UnaryMatchobject- Specified by:
getin interfaceSearchCompiler.UnaryMatchFactory- Parameters:
keyword- The keyword to get/create the correctSearchCompiler.UnaryMatchobjectmatchOperand- May be used to construct theSearchCompiler.UnaryMatchobjecttokenizer- May be used to construct theSearchCompiler.UnaryMatchobject- Returns:
- The
SearchCompiler.UnaryMatchobject for the keyword and its arguments
-
getKeywords
- Specified by:
getKeywordsin interfaceSearchCompiler.MatchFactory
-