source: josm/trunk/src/org/openstreetmap/josm/data/osm/visitor/OsmPrimitiveVisitor.java@ 12810

Last change on this file since 12810 was 12810, checked in by bastiK, 7 years ago

forgot to add file

File size: 839 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.osm.visitor;
3
4import org.openstreetmap.josm.data.osm.Node;
5import org.openstreetmap.josm.data.osm.Relation;
6import org.openstreetmap.josm.data.osm.Way;
7
8/**
9 * Implementation of the visitor pattern for the 3 {@link org.openstreetmap.josm.data.osm.OsmPrimitive}
10 * types {@link Node}, {@link Way} and {@link Relation}.
11 * @since 12810
12 */
13public interface OsmPrimitiveVisitor {
14 /**
15 * Visiting call for points.
16 * @param n The node to inspect.
17 */
18 void visit(Node n);
19
20 /**
21 * Visiting call for lines.
22 * @param w The way to inspect.
23 * @since 64
24 */
25 void visit(Way w);
26
27 /**
28 * Visiting call for relations.
29 * @param r The relation to inspect.
30 * @since 343
31 */
32 void visit(Relation r);
33
34}
Note: See TracBrowser for help on using the repository browser.