source: josm/src/org/openstreetmap/josm/data/osm/visitor/Visitor.java@ 23

Last change on this file since 23 was 21, checked in by imi, 19 years ago
  • started command implementation
  • cleaned up Layer
  • gpsbabel style for importing qpegps tracks
File size: 495 bytes
Line 
1package org.openstreetmap.josm.data.osm.visitor;
2
3import org.openstreetmap.josm.data.osm.Key;
4import org.openstreetmap.josm.data.osm.LineSegment;
5import org.openstreetmap.josm.data.osm.Node;
6import org.openstreetmap.josm.data.osm.Track;
7
8/**
9 * Implementation of the visitor scheme. Every OsmPrimitive can be visited by
10 * several different visitors.
11 *
12 * @author imi
13 */
14public interface Visitor {
15 void visit(Node n);
16 void visit(LineSegment ls);
17 void visit(Track t);
18 void visit(Key k);
19}
Note: See TracBrowser for help on using the repository browser.