|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.osm.visitor.AbstractVisitor
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.WronglyOrderedWays
public class WronglyOrderedWays
Check cyclic ways for errors
Field Summary | |
---|---|
protected static int |
WRONGLY_ORDERED_COAST
|
protected static int |
WRONGLY_ORDERED_LAND
|
Fields inherited from class org.openstreetmap.josm.data.validation.Test |
---|
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, testBeforeUpload |
Constructor Summary | |
---|---|
WronglyOrderedWays()
Constructor |
Method Summary | |
---|---|
private void |
reportError(Way w,
java.lang.String msg,
int type)
|
void |
visit(Way w)
Visiting call for lines. |
Methods inherited from class org.openstreetmap.josm.data.validation.Test |
---|
addGui, deletePrimitivesIfNeeded, endTest, fixError, getErrors, getName, initialize, isBuilding, isCanceled, isFixable, ok, setBeforeUpload, setPartialSelection, startTest, testBeforeUpload, visit, visit, visit |
Methods inherited from class org.openstreetmap.josm.data.osm.visitor.AbstractVisitor |
---|
visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int WRONGLY_ORDERED_COAST
protected static final int WRONGLY_ORDERED_LAND
Constructor Detail |
---|
public WronglyOrderedWays()
Method Detail |
---|
public void visit(Way w)
Visitor
visit
in interface Visitor
visit
in class Test
w
- The way to inspect.private void reportError(Way w, java.lang.String msg, int type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |