Last change
on this file since 8346 was 6380, checked in by Don-vip, 11 years ago |
update license/copyright information
|
-
Property svn:eol-style
set to
native
|
File size:
999 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.osm.visitor;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.data.osm.Changeset;
|
---|
5 | import org.openstreetmap.josm.data.osm.Node;
|
---|
6 | import org.openstreetmap.josm.data.osm.Relation;
|
---|
7 | import org.openstreetmap.josm.data.osm.Way;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Implementation of the visitor scheme. Every @{link org.openstreetmap.josm.data.OsmPrimitive}
|
---|
11 | * can be visited by several different visitors.
|
---|
12 | * @since 8
|
---|
13 | */
|
---|
14 | public interface Visitor {
|
---|
15 | /**
|
---|
16 | * Visiting call for points.
|
---|
17 | * @param n The node to inspect.
|
---|
18 | */
|
---|
19 | void visit(Node n);
|
---|
20 | /**
|
---|
21 | * Visiting call for lines.
|
---|
22 | * @param w The way to inspect.
|
---|
23 | * @since 64
|
---|
24 | */
|
---|
25 | void visit(Way w);
|
---|
26 | /**
|
---|
27 | * Visiting call for relations.
|
---|
28 | * @param r The relation to inspect.
|
---|
29 | * @since 343
|
---|
30 | */
|
---|
31 | void visit(Relation r);
|
---|
32 | /**
|
---|
33 | * Visiting call for changesets.
|
---|
34 | * @param cs The changeset to inspect.
|
---|
35 | * @since 1523
|
---|
36 | */
|
---|
37 | void visit(Changeset cs);
|
---|
38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.