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

Last change on this file since 143 was 143, checked in by imi, 18 years ago

added "gpx" as flag to the external tool feature to also export raw gps data

File size: 418 bytes
Line 
1package org.openstreetmap.josm.data.osm.visitor;
2
3import org.openstreetmap.josm.data.osm.Node;
4import org.openstreetmap.josm.data.osm.Segment;
5import org.openstreetmap.josm.data.osm.Way;
6
7/**
8 * Implementation of the visitor scheme. Every OsmPrimitive can be visited by
9 * several different visitors.
10 *
11 * @author imi
12 */
13public interface Visitor {
14 void visit(Node n);
15 void visit(Segment s);
16 void visit(Way w);
17}
Note: See TracBrowser for help on using the repository browser.