class SearchBasedRowFilter extends RowFilter<TableModel,Integer>
RowFilter
implementation which matches tags w.r.t. the specified filter's
SearchCompiler.Match.match(org.openstreetmap.josm.data.osm.Tagged)
method.
An RowFilter.Entry
's column 0 is considered as key, and column 1 is considered as value.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SearchBasedRowFilter.OneKeyValue |
RowFilter.ComparisonType, RowFilter.Entry<M,I>
Modifier and Type | Field and Description |
---|---|
(package private) SearchCompiler.Match |
filter |
Constructor and Description |
---|
SearchBasedRowFilter(SearchCompiler.Match filter)
Constructs a new
SearchBasedRowFilter with the given filter. |
Modifier and Type | Method and Description |
---|---|
boolean |
include(RowFilter.Entry entry) |
andFilter, dateFilter, notFilter, numberFilter, orFilter, regexFilter
final SearchCompiler.Match filter
SearchBasedRowFilter(SearchCompiler.Match filter)
SearchBasedRowFilter
with the given filter.filter
- the filter used to match tagspublic boolean include(RowFilter.Entry entry)
include
in class RowFilter<TableModel,Integer>