Interface ValidatorVisitor
- All Known Implementing Classes:
PaintVisitor,ValidatorDialog.ValidatorBoundingXYVisitor
public interface ValidatorVisitor
A visitor that is used during validation.
The most basic use is to visit all TestErrors of the validator
-
Method Summary
Modifier and TypeMethodDescriptionvoidVisit a list of nodes that are part of the errorvoidvisit(OsmPrimitive primitive) Visit a OSM primitive, e.g.voidvisit(WaySegment waySegment) Visit a way segment that was part of the errorvoidVisit a test error
-
Method Details
-
visit
Visit a test error- Parameters:
error- The test error to visit
-
visit
Visit a OSM primitive, e.g. to highlight it- Parameters:
primitive- The primitive
-
visit
Visit a way segment that was part of the error- Parameters:
waySegment- The way segment
-
visit
Visit a list of nodes that are part of the error- Parameters:
nodes- The nodes
-