private static class SearchCompiler.Preset extends SearchCompiler.Match
Modifier and Type | Field and Description |
---|---|
private java.util.List<TaggingPreset> |
presets |
Constructor and Description |
---|
Preset(java.lang.String presetName) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
private static boolean |
presetNameMatch(java.lang.String name,
TaggingPreset preset,
boolean matchStrictly) |
match, test
private final java.util.List<TaggingPreset> presets
Preset(java.lang.String presetName) throws SearchParseError
SearchParseError
public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to testprivate static boolean presetNameMatch(java.lang.String name, TaggingPreset preset, boolean matchStrictly)