|
||||||||||
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.DuplicatedWayNodes
public class DuplicatedWayNodes
Field Summary | |
---|---|
protected static int |
DUPLICATE_WAY_NODE
|
Fields inherited from class org.openstreetmap.josm.data.validation.Test |
---|
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, testBeforeUpload |
Constructor Summary | |
---|---|
DuplicatedWayNodes()
|
Method Summary | |
---|---|
Command |
fixError(TestError testError)
Fixes the error with the appropriate command |
boolean |
isFixable(TestError testError)
Returns true if the given error can be fixed automatically |
void |
visit(Way w)
Visiting call for lines. |
Methods inherited from class org.openstreetmap.josm.data.validation.Test |
---|
addGui, deletePrimitivesIfNeeded, endTest, getErrors, getName, initialize, isBuilding, isCanceled, 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 DUPLICATE_WAY_NODE
Constructor Detail |
---|
public DuplicatedWayNodes()
Method Detail |
---|
public void visit(Way w)
Visitor
visit
in interface Visitor
visit
in class Test
w
- The way to inspect.public Command fixError(TestError testError)
Test
fixError
in class Test
public boolean isFixable(TestError testError)
Test
isFixable
in class Test
testError
- The error to check if can be fixed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |