Package | Description |
---|---|
org.openstreetmap.josm.data.validation.tests |
Modifier and Type | Class and Description |
---|---|
private static class |
DeprecatedTags.UnnecessaryTagCheck |
Modifier and Type | Field and Description |
---|---|
private DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationError.check |
Modifier and Type | Field and Description |
---|---|
private List<DeprecatedTags.DeprecationCheck> |
DeprecatedTags.checks |
Modifier and Type | Method and Description |
---|---|
(package private) DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationCheck.add(String key,
String value)
Adds an automatic fix which sets/adds the tag
key=value . |
(package private) DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationCheck.alternative(String key)
Adds a suggestion to use an alternative key
key instead of the deprecated tag. |
(package private) DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationCheck.alternative(String key,
String value)
Adds a suggestion to use an alternative tag
key=value instead of the deprecated tag. |
(package private) DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationCheck.changeKey(String oldKey,
String newKey)
Adds an automatic fix which changes the key
oldKey to newKey . |
(package private) DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationCheck.remove(String key)
Adds an automatic fix which removes the key
key . |
(package private) DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationCheck.test(String key)
Adds a test criterion which matches primitives with key
key . |
(package private) DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationCheck.test(String key,
String value)
Adds a test criterion which matches primitives with tag
key=value . |
(package private) DeprecatedTags.DeprecationCheck |
DeprecatedTags.DeprecationCheck.testAndRemove(String key,
String value)
Adds a test criterion which matches primitives with tag
key=value ,
and an automatic fix which removes the key key . |
Constructor and Description |
---|
DeprecationError(OsmPrimitive p,
DeprecatedTags.DeprecationCheck check) |