private static class SearchCompiler.KeyValue extends SearchCompiler.TaggedMatch
| Modifier and Type | Field and Description |
|---|---|
private boolean |
caseSensitive |
private String |
key |
private Pattern |
keyPattern |
private String |
value |
private Pattern |
valuePattern |
| Constructor and Description |
|---|
KeyValue(String key,
String value,
boolean regexSearch,
boolean caseSensitive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Tagged osm)
Tests whether the tagged object matches this criterion.
|
String |
toString() |
matchevaluate, existsMatch, forallMatchprivate final Pattern keyPattern
private final Pattern valuePattern
private final boolean caseSensitive
KeyValue(String key, String value, boolean regexSearch, boolean caseSensitive) throws SearchCompiler.ParseError
SearchCompiler.ParseErrorpublic boolean match(Tagged osm)
SearchCompiler.Matchmatch in class SearchCompiler.TaggedMatchosm - the tagged object to test