org.openstreetmap.josm.actions.search
Class SearchCompiler.Any
java.lang.Object
org.openstreetmap.josm.actions.search.SearchCompiler.Match
org.openstreetmap.josm.actions.search.SearchCompiler.Any
- Enclosing class:
- SearchCompiler
private static class SearchCompiler.Any
- extends SearchCompiler.Match
Match a string in any tags (key or value), with optional regex and case insensitivity.
Constructor Summary |
SearchCompiler.Any(java.lang.String s,
boolean regexSearch,
boolean caseSensitive)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
search
private final java.lang.String search
searchRegex
private final java.util.regex.Pattern searchRegex
caseSensitive
private final boolean caseSensitive
SearchCompiler.Any
public SearchCompiler.Any(java.lang.String s,
boolean regexSearch,
boolean caseSensitive)
throws SearchCompiler.ParseError
- Throws:
SearchCompiler.ParseError
match
public boolean match(OsmPrimitive osm)
- Specified by:
match
in class SearchCompiler.Match
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
JOSM