private static class SearchCompiler.Any extends SearchCompiler.TaggedMatch
| Modifier and Type | Field and Description |
|---|---|
private boolean |
caseSensitive |
private java.lang.String |
search |
private java.util.regex.Pattern |
searchRegex |
| Constructor and Description |
|---|
Any(java.lang.String s,
boolean regexSearch,
boolean caseSensitive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Tagged osm)
Tests whether the tagged object matches this criterion.
|
java.lang.String |
toString() |
matchevaluate, existsMatch, forallMatchprivate final java.lang.String search
private final java.util.regex.Pattern searchRegex
private final boolean caseSensitive
Any(java.lang.String s, boolean regexSearch, boolean caseSensitive) throws SearchCompiler.ParseError
SearchCompiler.ParseErrorpublic boolean match(Tagged osm)
SearchCompiler.Matchmatch in class SearchCompiler.TaggedMatchosm - the tagged object to testpublic java.lang.String toString()
toString in class java.lang.Object