Class Test.TagTest
java.lang.Object
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.Test.TagTest
- All Implemented Interfaces:
OsmPrimitiveVisitor
- Direct Known Subclasses:
ConditionalKeys,InternetTags,Lanes,MapCSSTagChecker,NameMismatch,OpeningHourTest,TagChecker
- Enclosing class:
- Test
A test that forwards all primitives to
check(OsmPrimitive).-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.Test
Test.TagTest -
Field Summary
Fields inherited from class org.openstreetmap.josm.data.validation.Test
checkBeforeUpload, checkEnabled, description, enabled, errors, IN_DOWNLOADED_AREA, IN_DOWNLOADED_AREA_STRICT, isBeforeUpload, name, partialSelection, progressMonitor, stopwatch, testBeforeUpload -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidChecks the tags of the given primitive.protected booleanvoidVisiting call for points.voidVisiting call for relations.voidVisiting call for lines.Methods inherited from class org.openstreetmap.josm.data.validation.Test
addGui, clear, deletePrimitivesIfNeeded, endTest, fixError, getErrors, getName, getSource, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, isResidentialArea, ok, removeIrrelevantErrors, setBeforeUpload, setPartialSelection, setShowElements, startTest, testBeforeUpload, visit
-
Constructor Details
-
TagTest
Constructs a newTagTestwith given name and description.- Parameters:
name- The test namedescription- The test description
-
TagTest
Constructs a newTagTestwith given name.- Parameters:
name- The test name
-
-
Method Details
-
check
Checks the tags of the given primitive.- Parameters:
p- The primitive to test
-
visit
Description copied from interface:OsmPrimitiveVisitorVisiting call for points.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Overrides:
visitin classTest- Parameters:
n- The node to inspect.
-
visit
Description copied from interface:OsmPrimitiveVisitorVisiting call for lines.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Overrides:
visitin classTest- Parameters:
w- The way to inspect.
-
visit
Description copied from interface:OsmPrimitiveVisitorVisiting call for relations.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Overrides:
visitin classTest- Parameters:
r- The relation to inspect.
-
includeOtherSeverityChecks
-