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
,Relation
Users
Tags
Changesets
Utilities 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) class
InView
Matches 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 boolean
WayPoint. 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.Match
OsmPrimitive. directionKeys
A tagged way that matches this pattern has a direction.private SearchCompiler.Match
FilterMatcher.FilterInfo. match
private static SearchCompiler.Match
OsmPrimitive. reversedDirectionKeys
A 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.Match
OsmPrimitive. 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 boolean
OsmPrimitive. 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 class
SearchCompiler.AbstractBinaryMatch
A binary search operator which may take data parameters.static class
SearchCompiler.Always
Matches every OsmPrimitive.static class
SearchCompiler.And
Matches if both left and right expressions match.private static class
SearchCompiler.Any
Match a string in any tags (key or value), with optional regex and case insensitivity.private static class
SearchCompiler.AreaSize
Matches if the size of the area is within the given rangestatic class
SearchCompiler.BooleanMatch
Matches if the value of the corresponding key is ''yes'', ''true'', ''1'' or ''on''.private static class
SearchCompiler.ChangesetId
Matches objects with a changeset ID in the given range.static class
SearchCompiler.Child
Matches objects if they are children of the expressionprivate static class
SearchCompiler.Closed
Matches ways which are closed (i.e.private static class
SearchCompiler.Deleted
Matches all objects that have been deletedstatic class
SearchCompiler.ExactKeyValue
Matches objects with the exact given key-value pair.static class
SearchCompiler.ExactType
Filter OsmPrimitives based off of the base primitive typeprivate static class
SearchCompiler.HasRole
Matches relations with a member of the given roleprivate static class
SearchCompiler.Id
Matches objects with ID in the given range.static class
SearchCompiler.InArea
Matches objects within the given bounds.private static class
SearchCompiler.Incomplete
Match objects that are incomplete, where only id and type are known.static class
SearchCompiler.InDataSourceArea
Matches objects within source area ("downloaded area").static class
SearchCompiler.KeyValue
Matches objects with the given key-value pair.private static class
SearchCompiler.MapCSSMatch
private static class
SearchCompiler.MemberCountRange
private static class
SearchCompiler.Modified
Matches all objects that have been modified, created, or undeletedstatic class
SearchCompiler.Never
Never matches any OsmPrimitive.private static class
SearchCompiler.New
Matches objects that are new (i.e.private static class
SearchCompiler.NodeCountRange
Matches ways with a number of nodes in given rangestatic class
SearchCompiler.Not
Inverts the match.static class
SearchCompiler.NotOutsideDataSourceArea
Matches objects which are not outside the source area ("downloaded area").private static class
SearchCompiler.Nth
Matches the n-th object of a relation and/or the n-th node of a way.static class
SearchCompiler.Or
Matches if the left OR the right expression match.static class
SearchCompiler.Parent
Matches objects if they are parents of the expressionprivate static class
SearchCompiler.Preset
Matches presets.private static class
SearchCompiler.RangeMatch
Matches objects with properties in a certain range.private static class
SearchCompiler.RoleMatch
Matches objects with the given relation role (i.e.private static class
SearchCompiler.Selected
Matches all objects currently selectedprivate static class
SearchCompiler.TagCountRange
Matches objects with a number of tags in given rangestatic class
SearchCompiler.TaggedMatch
A common subclass ofSearchCompiler.Match
for matching against tagsprivate static class
SearchCompiler.TimestampRange
Matches objects with a timestamp in given rangestatic class
SearchCompiler.UnaryMatch
A unary search operator which may take data parameters.private static class
SearchCompiler.Untagged
Matches objects that don't have any interesting tags (i.e.static class
SearchCompiler.UserMatch
Matches objects last changed by the given username.static class
SearchCompiler.ValueComparison
Match a primitive based off of a value comparison.private static class
SearchCompiler.Version
Matches objects with a version number in the given range.private static class
SearchCompiler.WayCountRange
Matches objects with the number of referring/contained ways in the given rangeprivate static class
SearchCompiler.WayLength
Matches if the length of a way is within the given rangestatic class
SearchCompiler.Xor
Matches 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.Match
SearchCompiler.AbstractBinaryMatch. lhs
protected SearchCompiler.Match
SearchCompiler.UnaryMatch. match
protected SearchCompiler.Match
SearchCompiler.AbstractBinaryMatch. rhs
Methods in org.openstreetmap.josm.data.osm.search that return SearchCompiler.Match Modifier and Type Method Description static SearchCompiler.Match
SearchCompiler. compile(java.lang.String searchStr)
Compiles the search expression.static SearchCompiler.Match
SearchCompiler. compile(SearchSetting setting)
Compiles the search expression.(package private) static SearchCompiler.Match
SearchCompiler. compileMapCSS(java.lang.String mapCSS)
SearchCompiler.Match
SearchCompiler.CoreSimpleMatchFactory. get(java.lang.String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer)
SearchCompiler.Match
SearchCompiler.MatchSupplier. get()
SearchCompiler.Match
SearchCompiler.SimpleMatchFactory. get(java.lang.String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer)
Get theSearchCompiler.Match
objectSearchCompiler.Match
SearchCompiler.AbstractBinaryMatch. getLhs()
Returns left hand side.SearchCompiler.Match
SearchCompiler.Not. getMatch()
SearchCompiler.Match
SearchCompiler.UnaryMatch. getOperand()
SearchCompiler.Match
SearchCompiler.AbstractBinaryMatch. getRhs()
Returns right hand side.private static SearchCompiler.Match
SearchCompiler.CoreSimpleMatchFactory. getTokenizer(java.lang.String keyword, boolean caseSensitive, boolean regexSearch, PushbackTokenizer tokenizer)
private SearchCompiler.Match
SearchCompiler. getValidate(SearchCompiler.UnaryMatchFactory unaryFactory, java.lang.String key, PushbackTokenizer tokenizer)
SearchCompiler.Match
SearchCompiler. parse()
Parse search string.private SearchCompiler.Match
SearchCompiler. parseExpression()
Parse expression.private static SearchCompiler.Match
SearchCompiler. parseExpressionStep2(java.util.List<java.lang.Object> list)
private SearchCompiler.Match
SearchCompiler. parseFactor()
Parse next factor (a search operator or search term).private SearchCompiler.Match
SearchCompiler. parseFactor(java.lang.String errorMessage)
SearchCompiler.Match
SearchCompiler.Match. validate()
Check if this is a valid match objectSearchCompiler.Match
SearchCompiler.ValueComparison. validate()
Methods in org.openstreetmap.josm.data.osm.search with parameters of type SearchCompiler.Match Modifier and Type Method Description SearchCompiler.AbstractBinaryMatch
SearchCompiler.BinaryMatchFactory. get(java.lang.String keyword, SearchCompiler.Match lhs, SearchCompiler.Match rhs, PushbackTokenizer tokenizer)
Get theSearchCompiler.AbstractBinaryMatch
objectSearchCompiler.UnaryMatch
SearchCompiler.CoreUnaryMatchFactory. get(java.lang.String keyword, SearchCompiler.Match matchOperand, PushbackTokenizer tokenizer)
SearchCompiler.UnaryMatch
SearchCompiler.UnaryMatchFactory. get(java.lang.String keyword, SearchCompiler.Match matchOperand, PushbackTokenizer tokenizer)
Get theSearchCompiler.UnaryMatch
objectprotected static java.lang.String
SearchCompiler.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 appliesmapper
to both sides and then appliesoperator
on 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 newAnd
match.Child(SearchCompiler.Match m)
Not(SearchCompiler.Match match)
Or(SearchCompiler.Match lhs, SearchCompiler.Match rhs)
Constructs a newOr
match.Parent(SearchCompiler.Match m)
UnaryMatch(SearchCompiler.Match match)
Xor(SearchCompiler.Match lhs, SearchCompiler.Match rhs)
Constructs a newXor
match. -
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 class
AutoFilterManager.Match
Methods in org.openstreetmap.josm.gui.autofilter that return SearchCompiler.Match Modifier and Type Method Description SearchCompiler.Match
AutoFilterManager.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.Match
RelationListDialog.RelationListModel. filter
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type SearchCompiler.Match Modifier and Type Method Description void
RelationListDialog.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.Match
SearchBasedRowFilter. filter
private SearchCompiler.Match
RecentTagCollection. tagsToIgnore
Methods in org.openstreetmap.josm.gui.dialogs.properties with parameters of type SearchCompiler.Match Modifier and Type Method Description void
PropertiesDialog. setFilter(SearchCompiler.Match filter)
Sets a filter to restrict the displayed properties.void
RecentTagCollection. 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 newSearchBasedRowFilter
with 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 boolean
Marker. 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.Match
TaggingPreset. matchExpression
The match_expressionSearchCompiler.Match
TaggingPreset. nameTemplateFilter
The name_template_filterMethods in org.openstreetmap.josm.gui.tagging.presets with parameters of type SearchCompiler.Match Modifier and Type Method Description boolean
TaggingPresetItemGuiSupport. 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.Match
Roles.Role. memberExpression
An 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.Match
CompileSearchTextDecorator. filter
Methods in org.openstreetmap.josm.gui.widgets that return SearchCompiler.Match Modifier and Type Method Description SearchCompiler.Match
CompileSearchTextDecorator. 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.String
SearchCompilerQueryWizard. constructQuery(SearchCompiler.Match match, java.lang.String bounds, java.lang.String queryLineSuffix)
private static java.lang.String
SearchCompilerQueryWizard. 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 class
ContextSwitchTemplate.AndSet
private static class
ContextSwitchTemplate.ChildSet
private static class
ContextSwitchTemplate.ContextProvider
private static class
ContextSwitchTemplate.OrSet
private static class
ContextSwitchTemplate.ParentSet
Fields in org.openstreetmap.josm.tools.template_engine declared as SearchCompiler.Match Modifier and Type Field Description private SearchCompiler.Match
ContextSwitchTemplate.ParentSet. childCondition
protected SearchCompiler.Match
ContextSwitchTemplate.ContextProvider. condition
private SearchCompiler.Match
SearchExpressionCondition. condition
private SearchCompiler.Match
ContextSwitchTemplate.ChildSet. parentCondition
Methods in org.openstreetmap.josm.tools.template_engine that return SearchCompiler.Match Modifier and Type Method Description private static SearchCompiler.Match
ContextSwitchTemplate. 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 boolean
TemplateEngineDataProvider. evaluateCondition(SearchCompiler.Match condition)
Check if a condition holds for the object represented by thisTemplateEngineDataProvider
.private static SearchCompiler.Match
ContextSwitchTemplate. 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
.
-