public class DeprecatedTags extends Test
Modifier and Type | Class and Description |
---|---|
private static class |
DeprecatedTags.DeprecationCheck
Represents on deprecation check consisting of a series of
test s,
automatic change s/keyChange s (fixes for the deprecated tag),
or a suggestion of tagging alternatives . |
private class |
DeprecatedTags.DeprecationError |
private static class |
DeprecatedTags.UnnecessaryTagCheck |
Modifier and Type | Field and Description |
---|---|
private List<DeprecatedTags.DeprecationCheck> |
checks |
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, startTime, testBeforeUpload
Constructor and Description |
---|
DeprecatedTags()
Constructs a new
DeprecatedTags test. |
Modifier and Type | Method and Description |
---|---|
void |
visit(Node n)
Visiting call for points.
|
void |
visit(OsmPrimitive p)
Visiting call for primitives.
|
void |
visit(Relation r)
Visiting call for relations.
|
void |
visit(Way w)
Visiting call for lines.
|
addGui, deletePrimitivesIfNeeded, endTest, fixError, getErrors, getName, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, ok, setBeforeUpload, setPartialSelection, startTest, testBeforeUpload, visit
visit
private final List<DeprecatedTags.DeprecationCheck> checks
public DeprecatedTags()
DeprecatedTags
test.public void visit(OsmPrimitive p)
p
- The primitive to inspect.public void visit(Node n)
Visitor