Class SearchCompiler.KeyValue
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.KeyValue
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Enclosing class:
- SearchCompiler
Matches objects with the given key-value pair.
-
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
-
key
-
keyPattern
-
value
-
valuePattern
-
caseSensitive
-
-
Constructor Details
-
KeyValue
KeyValue(String key, String value, 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
-
getMv
-
getKey
-
getValue
-
toString
-
hashCode
-
equals
-