Last change
on this file since 12098 was 9203, checked in by Don-vip, 8 years ago |
add more unit tests, javadoc
|
-
Property svn:eol-style
set to
native
|
File size:
717 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.osm.history;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * Formats a name for a {@link HistoryOsmPrimitive}.
|
---|
6 | * @since 2686
|
---|
7 | */
|
---|
8 | public interface HistoryNameFormatter {
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * Formats a name for a {@link HistoryNode}.
|
---|
12 | *
|
---|
13 | * @param node the node
|
---|
14 | * @return the name
|
---|
15 | */
|
---|
16 | String format(HistoryNode node);
|
---|
17 |
|
---|
18 | /**
|
---|
19 | * Formats a name for a {@link HistoryWay}.
|
---|
20 | *
|
---|
21 | * @param way the way
|
---|
22 | * @return the name
|
---|
23 | */
|
---|
24 | String format(HistoryWay way);
|
---|
25 |
|
---|
26 | /**
|
---|
27 | * Formats a name for a {@link HistoryRelation}.
|
---|
28 | *
|
---|
29 | * @param relation the relation
|
---|
30 | * @return the name
|
---|
31 | */
|
---|
32 | String format(HistoryRelation relation);
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.