Package org.openstreetmap.josm.data.osm.search
package org.openstreetmap.josm.data.osm.search
Provides classes allowing to search OSM primitives in a dataset using textual queries.
-
ClassDescriptionThis class is used to parse a search string and split it into tokens.A range of long numbers.The token types that may be readImplements a google-like search.A binary search operator which may take data parameters.Matches every OsmPrimitive.Matches if both left and right expressions match.Match a string in any tags (key or value), with optional regex and case insensitivity.Matches if the size of the area is within the given rangeA factor for getting
SearchCompiler.AbstractBinaryMatchobjectsMatches if the value of the corresponding key is ''yes'', ''true'', ''1'' or ''on''.Matches objects with a changeset ID in the given range.Matches objects if they are children of the expressionMatches ways which are closed (i.e.The core factory for "simple"SearchCompiler.MatchobjectsThe coreSearchCompiler.UnaryMatchfactoryMatches all objects that have been deletedMatches objects with the exact given key-value pair.The mode to use for the comparisonFilter OsmPrimitives based off of the base primitive typeMatches relations with a member of the given roleMatches objects with ID in the given range.Matches objects within the given bounds.Match objects that are incomplete, where only id and type are known.Matches objects within source area ("downloaded area").Matches objects with the given key-value pair.Base class for all search criteria.Classes implementing this interface can provide Match operators.Classes implementing this interface can provide Match instances themselves and do not rely onSearchCompiler.compile(String).Matches all objects that have been modified, created, or undeletedNever matches any OsmPrimitive.Matches objects that are new (i.e.Matches ways with a number of nodes in given rangeInverts the match.Matches objects which are not outside the source area ("downloaded area").Matches the n-th object of a relation and/or the n-th node of a way.Matches if the left OR the right expression match.Matches objects if they are parents of the expressionMatches presets.Matches objects with properties in a certain range.Matches objects with the given relation role (i.e.Matches all objects currently selectedA factory for gettingSearchCompiler.MatchobjectsMatches objects with a number of tags in given rangeA common subclass ofSearchCompiler.Matchfor matching against tagsMatches objects with a timestamp in given rangeA unary search operator which may take data parameters.A factory for gettingSearchCompiler.UnaryMatchobjectsMatches objects that don't have any interesting tags (i.e.Matches objects last changed by the given username.Match a primitive based off of a value comparison.Matches objects with a version number in the given range.Matches objects with the number of referring/contained ways in the given rangeMatches if the length of a way is within the given rangeMatches if the left OR the right expression match, but not both.Search mode.Search compiler parsing error.This class defines a set of parameters that is used to perform search within the search dialog.