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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvisit(java.util.List<Node> nodes)Visit 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(TestError error)Visit a test error
-
-
-
Method Detail
-
visit
void visit(OsmPrimitive primitive)
Visit a OSM primitive, e.g. to highlight it- Parameters:
primitive- The primitive
-
visit
void visit(WaySegment waySegment)
Visit a way segment that was part of the error- Parameters:
waySegment- The way segment
-
-