org.openstreetmap.josm.data.validation.tests
Class RelationChecker
java.lang.Object
org.openstreetmap.josm.data.osm.visitor.AbstractVisitor
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.RelationChecker
- All Implemented Interfaces:
- Visitor
public class RelationChecker
- extends Test
Check for wrong relations
Methods inherited from class org.openstreetmap.josm.data.validation.Test |
addGui, deletePrimitivesIfNeeded, endTest, fixError, getErrors, getName, isBuilding, isCanceled, isFixable, ok, setBeforeUpload, setPartialSelection, startTest, testBeforeUpload, visit, visit, visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLE_UNKNOWN
protected static final int ROLE_UNKNOWN
- See Also:
- Constant Field Values
ROLE_EMPTY
protected static final int ROLE_EMPTY
- See Also:
- Constant Field Values
WRONG_TYPE
protected static final int WRONG_TYPE
- See Also:
- Constant Field Values
HIGH_COUNT
protected static final int HIGH_COUNT
- See Also:
- Constant Field Values
LOW_COUNT
protected static final int LOW_COUNT
- See Also:
- Constant Field Values
ROLE_MISSING
protected static final int ROLE_MISSING
- See Also:
- Constant Field Values
RELATION_UNKNOWN
protected static final int RELATION_UNKNOWN
- See Also:
- Constant Field Values
RELATION_EMPTY
protected static final int RELATION_EMPTY
- See Also:
- Constant Field Values
relationpresets
static java.util.Collection<TaggingPreset> relationpresets
RelationChecker
public RelationChecker()
- Constructor
initialize
public void initialize()
- Description copied from class:
Test
- Initializes any global data used this tester.
- Overrides:
initialize
in class Test
initializePresets
public void initializePresets()
- Reads the presets data.
visit
public void visit(Relation n)
- Description copied from interface:
Visitor
- Visiting call for relations.
- Specified by:
visit
in interface Visitor
- Overrides:
visit
in class Test
- Parameters:
n
- The relation to inspect.
JOSM