public static class SearchCompiler.ExactKeyValue extends SearchCompiler.Match
| Modifier and Type | Class and Description |
|---|---|
private static class |
SearchCompiler.ExactKeyValue.Mode |
| Modifier and Type | Field and Description |
|---|---|
private String |
key |
private Pattern |
keyPattern |
private SearchCompiler.ExactKeyValue.Mode |
mode |
private String |
value |
private Pattern |
valuePattern |
| Constructor and Description |
|---|
ExactKeyValue(boolean regexp,
String key,
String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(OsmPrimitive osm) |
String |
toString() |
evaluate, existsMatch, forallMatchprivate final Pattern keyPattern
private final Pattern valuePattern
private final SearchCompiler.ExactKeyValue.Mode mode
public ExactKeyValue(boolean regexp, String key, String value) throws SearchCompiler.ParseError
SearchCompiler.ParseErrorpublic boolean match(OsmPrimitive osm)
match in class SearchCompiler.Match