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
TestError
s of the validator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visit(java.util.List<Node> nodes)
Visit a list of nodes that are part of the errorvoid
visit(OsmPrimitive primitive)
Visit a OSM primitive, e.g.void
visit(WaySegment waySegment)
Visit a way segment that was part of the errorvoid
visit(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
-
-