|
||||||||||
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.NodesWithSameName
public class NodesWithSameName
Field Summary | |
---|---|
private java.util.Map<java.lang.String,java.util.List<Node>> |
namesToNodes
|
protected static int |
SAME_NAME
|
Fields inherited from class org.openstreetmap.josm.data.validation.Test |
---|
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, testBeforeUpload |
Constructor Summary | |
---|---|
NodesWithSameName()
|
Method Summary | |
---|---|
void |
endTest()
Notification of the end of the test. |
void |
startTest(ProgressMonitor monitor)
Start the test using a given progress monitor |
void |
visit(Node n)
Visiting call for points. |
Methods inherited from class org.openstreetmap.josm.data.validation.Test |
---|
addGui, deletePrimitivesIfNeeded, fixError, getErrors, getName, initialize, isBuilding, isCanceled, isFixable, ok, setBeforeUpload, setPartialSelection, 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 SAME_NAME
private java.util.Map<java.lang.String,java.util.List<Node>> namesToNodes
Constructor Detail |
---|
public NodesWithSameName()
Method Detail |
---|
public void startTest(ProgressMonitor monitor)
Test
startTest
in class Test
monitor
- the progress monitorpublic void visit(Node n)
Visitor
visit
in interface Visitor
visit
in class Test
n
- The node to inspect.public void endTest()
Test
If you override this method, don't forget to cleanup Test.progressMonitor
(most overrides call super.endTest()
to do this).
endTest
in class Test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |