Class SearchCompiler.InDataSourceArea
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.InArea
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.InDataSourceArea
-
- All Implemented Interfaces:
Predicate<OsmPrimitive>
- Direct Known Subclasses:
SearchCompiler.NotOutsideDataSourceArea
- Enclosing class:
- SearchCompiler
public static class SearchCompiler.InDataSourceArea extends SearchCompiler.InArea
Matches objects within source area ("downloaded area").
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.InArea
all
-
-
Constructor Summary
Constructors Constructor Description InDataSourceArea(boolean all)
Constructs a newInDataSourceArea
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<Bounds>
getBounds(OsmPrimitive primitive)
String
toString()
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.InArea
equals, hashCode, match
-
Methods inherited from class org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
match, test, validate
-
-
-
-
Constructor Detail
-
InDataSourceArea
public InDataSourceArea(boolean all)
Constructs a newInDataSourceArea
.- Parameters:
all
- if true, all way nodes or relation members have to be within source area; if false, one suffices.
-
-
Method Detail
-
getBounds
protected Collection<Bounds> getBounds(OsmPrimitive primitive)
- Specified by:
getBounds
in classSearchCompiler.InArea
-
-