Class CrossingWays.Ways
java.lang.Object
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.CrossingWays
org.openstreetmap.josm.data.validation.tests.CrossingWays.Ways
- All Implemented Interfaces:
OsmPrimitiveVisitor
- Enclosing class:
- CrossingWays
General crossing ways test.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.tests.CrossingWays
CrossingWays.Boundaries, CrossingWays.MessageHelper, CrossingWays.SelfCrossing, CrossingWays.WaysNested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.Test
Test.TagTest -
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.data.validation.tests.CrossingWays
BARRIER, code, HIGHWAY, LANDUSE, RAILWAY, WATERWAYFields 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 TypeMethodDescription(package private) CrossingWays.MessageHelpercreateMessage(Way w1, Way w2) (package private) booleanignoreWaySegmentCombination(Way w1, Way w2) booleanDetermines if the primitive is usable for tests.Methods inherited from class org.openstreetmap.josm.data.validation.tests.CrossingWays
endTest, findIntersectingWay, getSegments, getSegments, isCoastline, isHighway, isProposedOrAbandoned, isRailway, isSelfCrossing, isSubwayOrTramOrRazed, isWaterArea, isWaterAreaOrFairway, runTest, startTest, visitMethods inherited from class org.openstreetmap.josm.data.validation.Test
addGui, clear, deletePrimitivesIfNeeded, fixError, getErrors, getName, getSource, initialize, isBuilding, isCanceled, isFixable, isResidentialArea, ok, removeIrrelevantErrors, setBeforeUpload, setPartialSelection, setShowElements, testBeforeUpload, visit, visit, visit
-
Field Details
-
CROSSING_WAYS
- See Also:
-
-
Constructor Details
-
Ways
public Ways()Constructs a new crossingWaystest.
-
-
Method Details
-
isPrimitiveUsable
Description copied from class:TestDetermines if the primitive is usable for tests.- Overrides:
isPrimitiveUsablein classTest- Parameters:
w- The primitive- Returns:
trueif the primitive can be tested,falseotherwise
-
ignoreWaySegmentCombination
- Specified by:
ignoreWaySegmentCombinationin classCrossingWays
-
createMessage
- Overrides:
createMessagein classCrossingWays
-