|
||||||||||
| 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.UntaggedNode
public class UntaggedNode
Checks for nodes with uninteresting tags that are in no way
| Field Summary | |
|---|---|
protected static int |
UNTAGGED_NODE_BLANK
|
protected static int |
UNTAGGED_NODE_CREATED_BY
|
protected static int |
UNTAGGED_NODE_FIXME
|
protected static int |
UNTAGGED_NODE_NOTE
|
protected static int |
UNTAGGED_NODE_OTHER
|
protected static int |
UNTAGGED_NODE_SOURCE
|
protected static int |
UNTAGGED_NODE_WATCH
|
| Fields inherited from class org.openstreetmap.josm.data.validation.Test |
|---|
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, testBeforeUpload |
| Constructor Summary | |
|---|---|
UntaggedNode()
Constructor |
|
| Method Summary | |
|---|---|
private boolean |
contains(java.util.Map.Entry<java.lang.String,java.lang.String> tag,
java.lang.String s)
|
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 |
startTest(ProgressMonitor monitor)
Start the test using a given progress monitor |
void |
visit(java.util.Collection<OsmPrimitive> selection)
Visits all primitives to be tested. |
void |
visit(Node n)
Visiting call for points. |
| Methods inherited from class org.openstreetmap.josm.data.validation.Test |
|---|
addGui, deletePrimitivesIfNeeded, endTest, getErrors, getName, initialize, isBuilding, isCanceled, ok, setBeforeUpload, setPartialSelection, testBeforeUpload, 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 UNTAGGED_NODE_BLANK
protected static final int UNTAGGED_NODE_FIXME
protected static final int UNTAGGED_NODE_NOTE
protected static final int UNTAGGED_NODE_CREATED_BY
protected static final int UNTAGGED_NODE_WATCH
protected static final int UNTAGGED_NODE_SOURCE
protected static final int UNTAGGED_NODE_OTHER
| Constructor Detail |
|---|
public UntaggedNode()
| Method Detail |
|---|
public void startTest(ProgressMonitor monitor)
Test
startTest in class Testmonitor - the progress monitorpublic void visit(java.util.Collection<OsmPrimitive> selection)
Test
visit in class Testselection - The primitives to be testedpublic void visit(Node n)
Visitor
visit in interface Visitorvisit in class Testn - The node to inspect.
private boolean contains(java.util.Map.Entry<java.lang.String,java.lang.String> tag,
java.lang.String s)
public Command fixError(TestError testError)
Test
fixError in class Testpublic boolean isFixable(TestError testError)
Test
isFixable in class TesttestError - The error to check if can be fixed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||