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 java.lang.Object implements SearchCompiler.UnaryMatchFactory
The coreSearchCompiler.UnaryMatchfactory
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Collection<java.lang.String>keywords
-
Constructor Summary
Constructors Constructor Description CoreUnaryMatchFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchCompiler.UnaryMatchget(java.lang.String keyword, SearchCompiler.Match matchOperand, PushbackTokenizer tokenizer)Get theSearchCompiler.UnaryMatchobjectjava.util.Collection<java.lang.String>getKeywords()
-
-
-
Field Detail
-
keywords
private static final java.util.Collection<java.lang.String> keywords
-
-
Constructor Detail
-
CoreUnaryMatchFactory
public CoreUnaryMatchFactory()
-
-
Method Detail
-
get
public SearchCompiler.UnaryMatch get(java.lang.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
public java.util.Collection<java.lang.String> getKeywords()
- Specified by:
getKeywordsin interfaceSearchCompiler.MatchFactory
-
-