private static class SearchCompiler.Any extends SearchCompiler.TaggedMatch
Modifier and Type | Field and Description |
---|---|
private boolean |
caseSensitive |
private String |
search |
private Pattern |
searchRegex |
Constructor and Description |
---|
Any(String s,
boolean regexSearch,
boolean caseSensitive) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Tagged osm)
Tests whether the tagged object matches this criterion.
|
String |
toString() |
match
evaluate, existsMatch, forallMatch
private final Pattern searchRegex
private final boolean caseSensitive
Any(String s, boolean regexSearch, boolean caseSensitive) throws SearchCompiler.ParseError
SearchCompiler.ParseError
public boolean match(Tagged osm)
SearchCompiler.Match
match
in class SearchCompiler.TaggedMatch
osm
- the tagged object to test