Uses of Class
org.openstreetmap.josm.data.osm.search.SearchCompiler.Match
-
Packages that use SearchCompiler.Match Package Description org.openstreetmap.josm.actions.search Provides the classes for JOSMsearch action.org.openstreetmap.josm.data.gpx Provides the classes for JOSMGPX data(points, tracks, routes).org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives:Node,Way,RelationUsersTagsChangesetsUtilities classesorg.openstreetmap.josm.data.osm.search Provides classes allowing to search OSM primitives in a dataset using textual queries.org.openstreetmap.josm.gui.autofilter Provides the classes for automatic filters (filters automatically created on current data).org.openstreetmap.josm.gui.dialogs Provides three kinds of dialogs: Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI Changeset dialog based on a standalone implementation, dedicated to OSM changesets management Extended dialogs for everything elseorg.openstreetmap.josm.gui.dialogs.properties Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.org.openstreetmap.josm.gui.layer.markerlayer Provides classes for handling marker layers.org.openstreetmap.josm.gui.tagging.presets Provides classes for handling tagging presets.org.openstreetmap.josm.gui.tagging.presets.items Provides classes for handling tagging presets items.org.openstreetmap.josm.gui.widgets Provides GUI widgets customized for JOSM needs.org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages.org.openstreetmap.josm.tools.template_engine Provides classes for a generic template engine used in presets, name rendering and search function. -
-
Uses of SearchCompiler.Match in org.openstreetmap.josm.actions.search
Subclasses of SearchCompiler.Match in org.openstreetmap.josm.actions.search Modifier and Type Class Description (package private) classInViewMatches objects within current map view. -
Uses of SearchCompiler.Match in org.openstreetmap.josm.data.gpx
Methods in org.openstreetmap.josm.data.gpx with parameters of type SearchCompiler.Match Modifier and Type Method Description booleanWayPoint. evaluateCondition(SearchCompiler.Match condition) -
Uses of SearchCompiler.Match in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm declared as SearchCompiler.Match Modifier and Type Field Description (package private) static SearchCompiler.MatchOsmPrimitive. directionKeysA tagged way that matches this pattern has a direction.private SearchCompiler.MatchFilterMatcher.FilterInfo. matchprivate static SearchCompiler.MatchOsmPrimitive. reversedDirectionKeysA tagged way that matches this pattern has a direction that is reversed.Methods in org.openstreetmap.josm.data.osm that return SearchCompiler.Match Modifier and Type Method Description private static SearchCompiler.MatchOsmPrimitive. compileDirectionKeys(java.lang.String prefName, java.lang.String defaultValue)Methods in org.openstreetmap.josm.data.osm with parameters of type SearchCompiler.Match Modifier and Type Method Description booleanOsmPrimitive. evaluateCondition(SearchCompiler.Match condition) -
Uses of SearchCompiler.Match in org.openstreetmap.josm.data.osm.search
Subclasses of SearchCompiler.Match in org.openstreetmap.josm.data.osm.search Modifier and Type Class Description static classSearchCompiler.AbstractBinaryMatchA binary search operator which may take data parameters.static classSearchCompiler.AlwaysMatches every OsmPrimitive.static classSearchCompiler.AndMatches if both left and right expressions match.private static classSearchCompiler.AnyMatch a string in any tags (key or value), with optional regex and case insensitivity.private static classSearchCompiler.AreaSizeMatches if the size of the area is within the given rangestatic classSearchCompiler.BooleanMatchMatches if the value of the corresponding key is ''yes'', ''true'', ''1'' or ''on''.private static classSearchCompiler.ChangesetIdMatches objects with a changeset ID in the given range.static classSearchCompiler.ChildMatches objects if they are children of the expressionprivate static classSearchCompiler.ClosedMatches ways which are closed (i.e.private static classSearchCompiler.DeletedMatches all objects that have been deletedstatic classSearchCompiler.ExactKeyValueMatches objects with the exact given key-value pair.static classSearchCompiler.ExactTypeFilter OsmPrimitives based off of the base primitive typeprivate static classSearchCompiler.HasRoleMatches relations with a member of the given roleprivate static classSearchCompiler.IdMatches objects with ID in the given range.static classSearchCompiler.InAreaMatches objects within the given bounds.private static classSearchCompiler.IncompleteMatch objects that are incomplete, where only id and type are known.static classSearchCompiler.InDataSourceAreaMatches objects within source area ("downloaded area").static classSearchCompiler.KeyValueMatches objects with the given key-value pair.private static classSearchCompiler.MapCSSMatchprivate static classSearchCompiler.MemberCountRangeprivate static classSearchCompiler.ModifiedMatches all objects that have been modified, created, or undeletedstatic classSearchCompiler.NeverNever matches any OsmPrimitive.private static classSearchCompiler.NewMatches objects that are new (i.e.private static classSearchCompiler.NodeCountRangeMatches ways with a number of nodes in given rangestatic classSearchCompiler.NotInverts the match.static classSearchCompiler.NotOutsideDataSourceAreaMatches objects which are not outside the source area ("downloaded area").private static classSearchCompiler.NthMatches the n-th object of a relation and/or the n-th node of a way.static classSearchCompiler.OrMatches if the left OR the right expression match.static classSearchCompiler.ParentMatches objects if they are parents of the expressionprivate static classSearchCompiler.PresetMatches presets.private static classSearchCompiler.RangeMatchMatches objects with properties in a certain range.private static classSearchCompiler.RoleMatchMatches objects with the given relation role (i.e.private static classSearchCompiler.SelectedMatches all objects currently selectedprivate static classSearchCompiler.TagCountRangeMatches objects with a number of tags in given rangestatic classSearchCompiler.TaggedMatchA common subclass ofSearchCompiler.Matchfor matching against tagsprivate static classSearchCompiler.TimestampRangeMatches objects with a timestamp in given rangestatic classSearchCompiler.UnaryMatchA unary search operator which may take data parameters.private static classSearchCompiler.UntaggedMatches objects that don't have any interesting tags (i.e.static classSearchCompiler.UserMatchMatches objects last changed by the given username.static classSearchCompiler.ValueComparisonMatch a primitive based off of a value comparison.private static classSearchCompiler.VersionMatches objects with a version number in the given range.private static classSearchCompiler.WayCountRangeMatches objects with the number of referring/contained ways in the given rangeprivate static classSearchCompiler.WayLengthMatches if the length of a way is within the given rangestatic classSearchCompiler.XorMatches if the left OR the right expression match, but not both.Fields in org.openstreetmap.josm.data.osm.search declared as SearchCompiler.Match Modifier and Type Field Description protected SearchCompiler.MatchSearchCompiler.AbstractBinaryMatch. lhsprotected SearchCompiler.MatchSearchCompiler.UnaryMatch. matchprotected SearchCompiler.MatchSearchCompiler.AbstractBinaryMatch. rhsMethods in org.openstreetmap.josm.data.osm.search that return SearchCompiler.Match Modifier and Type Method Description static SearchCompiler.MatchSearchCompiler. compile(java.lang.String searchStr)Compiles the search expression.static SearchCompiler.MatchSearchCompiler. compile(SearchSetting setting)Compiles the search expression.(package private) static SearchCompiler.MatchSearchCompiler. compileMapCSS(java.lang.String mapCSS)SearchCompiler.MatchSearchCompiler.CoreSimpleMatchFactory. get(java.lang.String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer)SearchCompiler.MatchSearchCompiler.MatchSupplier. get()SearchCompiler.MatchSearchCompiler.SimpleMatchFactory. get(java.lang.String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer)Get theSearchCompiler.MatchobjectSearchCompiler.MatchSearchCompiler.AbstractBinaryMatch. getLhs()Returns left hand side.SearchCompiler.MatchSearchCompiler.Not. getMatch()SearchCompiler.MatchSearchCompiler.UnaryMatch. getOperand()SearchCompiler.MatchSearchCompiler.AbstractBinaryMatch. getRhs()Returns right hand side.private static SearchCompiler.MatchSearchCompiler.CoreSimpleMatchFactory. getTokenizer(java.lang.String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer)private SearchCompiler.MatchSearchCompiler. getValidate(SearchCompiler.UnaryMatchFactory unaryFactory, java.lang.String key, PushbackTokenizer tokenizer)SearchCompiler.MatchSearchCompiler. parse()Parse search string.private SearchCompiler.MatchSearchCompiler. parseExpression()Parse expression.private static SearchCompiler.MatchSearchCompiler. parseExpressionStep2(java.util.List<java.lang.Object> list)private SearchCompiler.MatchSearchCompiler. parseFactor()Parse next factor (a search operator or search term).private SearchCompiler.MatchSearchCompiler. parseFactor(java.lang.String errorMessage)SearchCompiler.MatchSearchCompiler.Match. validate()Check if this is a valid match objectSearchCompiler.MatchSearchCompiler.ValueComparison. validate()Methods in org.openstreetmap.josm.data.osm.search with parameters of type SearchCompiler.Match Modifier and Type Method Description SearchCompiler.AbstractBinaryMatchSearchCompiler.BinaryMatchFactory. get(java.lang.String keyword, SearchCompiler.Match lhs, SearchCompiler.Match rhs, PushbackTokenizer tokenizer)Get theSearchCompiler.AbstractBinaryMatchobjectSearchCompiler.UnaryMatchSearchCompiler.CoreUnaryMatchFactory. get(java.lang.String keyword, SearchCompiler.Match matchOperand, PushbackTokenizer tokenizer)SearchCompiler.UnaryMatchSearchCompiler.UnaryMatchFactory. get(java.lang.String keyword, SearchCompiler.Match matchOperand, PushbackTokenizer tokenizer)Get theSearchCompiler.UnaryMatchobjectprotected static java.lang.StringSearchCompiler.AbstractBinaryMatch. parenthesis(SearchCompiler.Match m)Method parameters in org.openstreetmap.josm.data.osm.search with type arguments of type SearchCompiler.Match Modifier and Type Method Description <T,U>
USearchCompiler.AbstractBinaryMatch. map(java.util.function.Function<SearchCompiler.Match,T> mapper, java.util.function.BiFunction<T,T,U> operator)First appliesmapperto both sides and then appliesoperatoron the two results.Constructors in org.openstreetmap.josm.data.osm.search with parameters of type SearchCompiler.Match Constructor Description AbstractBinaryMatch(SearchCompiler.Match lhs, SearchCompiler.Match rhs)Constructs a newBinaryMatch.And(SearchCompiler.Match lhs, SearchCompiler.Match rhs)Constructs a newAndmatch.Child(SearchCompiler.Match m)Not(SearchCompiler.Match match)Or(SearchCompiler.Match lhs, SearchCompiler.Match rhs)Constructs a newOrmatch.Parent(SearchCompiler.Match m)UnaryMatch(SearchCompiler.Match match)Xor(SearchCompiler.Match lhs, SearchCompiler.Match rhs)Constructs a newXormatch. -
Uses of SearchCompiler.Match in org.openstreetmap.josm.gui.autofilter
Subclasses of SearchCompiler.Match in org.openstreetmap.josm.gui.autofilter Modifier and Type Class Description (package private) static classAutoFilterManager.MatchMethods in org.openstreetmap.josm.gui.autofilter that return SearchCompiler.Match Modifier and Type Method Description SearchCompiler.MatchAutoFilterManager.CompiledFilter. get() -
Uses of SearchCompiler.Match in org.openstreetmap.josm.gui.dialogs
Fields in org.openstreetmap.josm.gui.dialogs declared as SearchCompiler.Match Modifier and Type Field Description private SearchCompiler.MatchRelationListDialog.RelationListModel. filterMethods in org.openstreetmap.josm.gui.dialogs with parameters of type SearchCompiler.Match Modifier and Type Method Description voidRelationListDialog.RelationListModel. setFilter(SearchCompiler.Match filter) -
Uses of SearchCompiler.Match in org.openstreetmap.josm.gui.dialogs.properties
Fields in org.openstreetmap.josm.gui.dialogs.properties declared as SearchCompiler.Match Modifier and Type Field Description (package private) SearchCompiler.MatchSearchBasedRowFilter. filterprivate SearchCompiler.MatchRecentTagCollection. tagsToIgnoreMethods in org.openstreetmap.josm.gui.dialogs.properties with parameters of type SearchCompiler.Match Modifier and Type Method Description voidPropertiesDialog. setFilter(SearchCompiler.Match filter)Sets a filter to restrict the displayed properties.voidRecentTagCollection. setTagsToIgnore(SearchCompiler.Match tagsToIgnore)Constructors in org.openstreetmap.josm.gui.dialogs.properties with parameters of type SearchCompiler.Match Constructor Description SearchBasedRowFilter(SearchCompiler.Match filter)Constructs a newSearchBasedRowFilterwith the given filter. -
Uses of SearchCompiler.Match in org.openstreetmap.josm.gui.layer.markerlayer
Methods in org.openstreetmap.josm.gui.layer.markerlayer with parameters of type SearchCompiler.Match Modifier and Type Method Description booleanMarker. evaluateCondition(SearchCompiler.Match condition) -
Uses of SearchCompiler.Match in org.openstreetmap.josm.gui.tagging.presets
Fields in org.openstreetmap.josm.gui.tagging.presets declared as SearchCompiler.Match Modifier and Type Field Description SearchCompiler.MatchTaggingPreset. matchExpressionThe match_expressionSearchCompiler.MatchTaggingPreset. nameTemplateFilterThe name_template_filterMethods in org.openstreetmap.josm.gui.tagging.presets with parameters of type SearchCompiler.Match Modifier and Type Method Description booleanTaggingPresetItemGuiSupport. evaluateCondition(SearchCompiler.Match condition) -
Uses of SearchCompiler.Match in org.openstreetmap.josm.gui.tagging.presets.items
Fields in org.openstreetmap.josm.gui.tagging.presets.items declared as SearchCompiler.Match Modifier and Type Field Description SearchCompiler.MatchRoles.Role. memberExpressionAn expression (cf. -
Uses of SearchCompiler.Match in org.openstreetmap.josm.gui.widgets
Fields in org.openstreetmap.josm.gui.widgets declared as SearchCompiler.Match Modifier and Type Field Description private SearchCompiler.MatchCompileSearchTextDecorator. filterMethods in org.openstreetmap.josm.gui.widgets that return SearchCompiler.Match Modifier and Type Method Description SearchCompiler.MatchCompileSearchTextDecorator. getMatch()Returns the compiled search -
Uses of SearchCompiler.Match in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools that return types with arguments of type SearchCompiler.Match Modifier and Type Method Description private static java.util.List<SearchCompiler.Match>SearchCompilerQueryWizard. normalizeToDNF(SearchCompiler.Match match)Normalizes the match to disjunctive normal form: A∧(B∨C) ⇔ (A∧B)∨(A∧C)Methods in org.openstreetmap.josm.tools with parameters of type SearchCompiler.Match Modifier and Type Method Description private static java.lang.StringSearchCompilerQueryWizard. constructQuery(SearchCompiler.Match match, java.lang.String bounds, java.lang.String queryLineSuffix)private static java.lang.StringSearchCompilerQueryWizard. constructQuery(SearchCompiler.Match match, java.util.Set<OsmPrimitiveType> types)private static java.util.List<SearchCompiler.Match>SearchCompilerQueryWizard. normalizeToDNF(SearchCompiler.Match match)Normalizes the match to disjunctive normal form: A∧(B∨C) ⇔ (A∧B)∨(A∧C) -
Uses of SearchCompiler.Match in org.openstreetmap.josm.tools.template_engine
Subclasses of SearchCompiler.Match in org.openstreetmap.josm.tools.template_engine Modifier and Type Class Description private static classContextSwitchTemplate.AndSetprivate static classContextSwitchTemplate.ChildSetprivate static classContextSwitchTemplate.ContextProviderprivate static classContextSwitchTemplate.OrSetprivate static classContextSwitchTemplate.ParentSetFields in org.openstreetmap.josm.tools.template_engine declared as SearchCompiler.Match Modifier and Type Field Description private SearchCompiler.MatchContextSwitchTemplate.ParentSet. childConditionprotected SearchCompiler.MatchContextSwitchTemplate.ContextProvider. conditionprivate SearchCompiler.MatchSearchExpressionCondition. conditionprivate SearchCompiler.MatchContextSwitchTemplate.ChildSet. parentConditionMethods in org.openstreetmap.josm.tools.template_engine that return SearchCompiler.Match Modifier and Type Method Description private static SearchCompiler.MatchContextSwitchTemplate. transform(SearchCompiler.Match m, int searchExpressionPosition)Methods in org.openstreetmap.josm.tools.template_engine with parameters of type SearchCompiler.Match Modifier and Type Method Description booleanTemplateEngineDataProvider. evaluateCondition(SearchCompiler.Match condition)Check if a condition holds for the object represented by thisTemplateEngineDataProvider.private static SearchCompiler.MatchContextSwitchTemplate. transform(SearchCompiler.Match m, int searchExpressionPosition)Constructors in org.openstreetmap.josm.tools.template_engine with parameters of type SearchCompiler.Match Constructor Description ChildSet(SearchCompiler.Match parentCondition)ContextSwitchTemplate(SearchCompiler.Match match, TemplateEntry template, int searchExpressionPosition)Constructs a newContextSwitchTemplate.ParentSet(SearchCompiler.Match child)SearchExpressionCondition(SearchCompiler.Match condition, TemplateEntry text)Creates a newSearchExpressionCondition.
-