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

Last change on this file since 2667 was 2017, checked in by Gubaer, 15 years ago

removed OptionPaneUtil
cleanup of deprecated Layer API
cleanup of deprecated APIs in OsmPrimitive and Way
cleanup of imports

  • Property svn:eol-style set to native
File size: 570 bytes
Line 
1// License: GPL. Copyright 2007 by Immanuel Scholz and others
2package org.openstreetmap.josm.data.osm.visitor;
3
4import org.openstreetmap.josm.data.osm.Changeset;
5import org.openstreetmap.josm.data.osm.Node;
6import org.openstreetmap.josm.data.osm.Relation;
7import org.openstreetmap.josm.data.osm.Way;
8
9/**
10 * Implementation of the visitor scheme. Every OsmPrimitive can be visited by
11 * several different visitors.
12 *
13 * @author imi
14 */
15public interface Visitor {
16 void visit(Node n);
17 void visit(Way w);
18 void visit(Relation e);
19 void visit(Changeset cs);
20}
Note: See TracBrowser for help on using the repository browser.