Last change
on this file since 13818 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
|
Rev | Line | |
---|
[2711] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
| 2 | package org.openstreetmap.josm.data.osm.history;
|
---|
| 3 |
|
---|
[9203] | 4 | /**
|
---|
| 5 | * Formats a name for a {@link HistoryOsmPrimitive}.
|
---|
| 6 | * @since 2686
|
---|
| 7 | */
|
---|
[2711] | 8 | public interface HistoryNameFormatter {
|
---|
[9203] | 9 |
|
---|
| 10 | /**
|
---|
| 11 | * Formats a name for a {@link HistoryNode}.
|
---|
| 12 | *
|
---|
| 13 | * @param node the node
|
---|
| 14 | * @return the name
|
---|
| 15 | */
|
---|
[2711] | 16 | String format(HistoryNode node);
|
---|
[8510] | 17 |
|
---|
[9203] | 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);
|
---|
[8510] | 25 |
|
---|
[9203] | 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);
|
---|
[2711] | 33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.