Package | Description |
---|---|
org.openstreetmap.josm.data.validation.tests | |
org.openstreetmap.josm.gui.mappaint.mapcss |
Modifier and Type | Field and Description |
---|---|
java.util.List<Selector> |
MapCSSTagChecker.GroupedMapCSSRule.selectors
MapCSS selectors
|
Modifier and Type | Method and Description |
---|---|
(package private) Selector |
MapCSSTagChecker.TagCheck.whichSelectorMatchesEnvironment(Environment env) |
(package private) Selector |
MapCSSTagChecker.TagCheck.whichSelectorMatchesPrimitive(OsmPrimitive primitive) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
MapCSSTagChecker.TagCheck.getDescriptionForMatchingSelector(OsmPrimitive p,
Selector matchingSelector)
Constructs a (localized) description for this deprecation check
where any placeholders are replaced by values of the matched selector.
|
(package private) TestError |
MapCSSTagChecker.TagCheck.getErrorForPrimitive(OsmPrimitive p,
Selector matchingSelector,
Environment env) |
(package private) static java.lang.String |
MapCSSTagChecker.TagCheck.insertArguments(Selector matchingSelector,
java.lang.String s)
Replaces occurrences of
{i.key} , {i.value} , {i.tag} in s by the corresponding
key/value/tag of the index -th Condition of matchingSelector . |
Constructor and Description |
---|
MapCSSTagChecker.GroupedMapCSSRule(java.util.List<Selector> selectors,
MapCSSRule.Declaration declaration)
Constructs a new
GroupedMapCSSRule . |
Modifier and Type | Class and Description |
---|---|
static class |
Selector.AbstractSelector
Super class of
Selector.GeneralSelector and
Selector.LinkSelector . |
static class |
Selector.ChildOrParentSelector
Represents a child selector or a parent selector.
|
static class |
Selector.GeneralSelector |
static class |
Selector.LinkSelector |
static class |
Selector.OptimizedGeneralSelector |
Modifier and Type | Field and Description |
---|---|
Selector |
Selector.ChildOrParentSelector.left |
Selector |
Selector.ChildOrParentSelector.right |
Selector |
MapCSSRule.selector |
Modifier and Type | Method and Description |
---|---|
Selector |
Selector.optimizedBaseCheck()
Create an "optimized" copy of this selector that omits the base check.
|
Selector |
Selector.ChildOrParentSelector.optimizedBaseCheck() |
Selector |
Selector.LinkSelector.optimizedBaseCheck() |
Selector |
Selector.GeneralSelector.optimizedBaseCheck() |
Selector |
Selector.OptimizedGeneralSelector.optimizedBaseCheck() |
Constructor and Description |
---|
MapCSSRule(Selector selector,
MapCSSRule.Declaration declaration) |
Selector.ChildOrParentSelector(Selector a,
Selector.LinkSelector link,
Selector b,
Selector.ChildOrParentSelectorType type) |