Class SearchCompiler.Any
java.lang.Object
org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
org.openstreetmap.josm.data.osm.search.SearchCompiler.TaggedMatch
org.openstreetmap.josm.data.osm.search.SearchCompiler.Any
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
Match a string in any tags (key or value), with optional regex and case insensitivity.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.TaggedMatch
compilePattern, matchMethods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
test, validate
-
Field Details
-
search
-
searchRegex
-
caseSensitive
-
-
Constructor Details
-
Any
Any(String s, boolean regexSearch, boolean caseSensitive) throws SearchParseError - Throws:
SearchParseError
-
-
Method Details
-
match
Description copied from class:SearchCompiler.MatchTests whether the tagged object matches this criterion.- Specified by:
matchin classSearchCompiler.TaggedMatch- Parameters:
osm- the tagged object to test- Returns:
- true if the tagged object matches this criterion
-
toString
-
hashCode
-
equals
-