Changeset 9203 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2015-12-28T19:15:45+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/NameFormatter.java
r8510 r9203 4 4 import java.util.Comparator; 5 5 6 /** 7 * Formats a name for a {@link OsmPrimitive}. 8 * @since 1990 9 */ 6 10 public interface NameFormatter { 11 12 /** 13 * Formats a name for a {@link Node}. 14 * 15 * @param node the node 16 * @return the name 17 */ 7 18 String format(Node node); 8 19 20 /** 21 * Formats a name for a {@link Way}. 22 * 23 * @param way the way 24 * @return the name 25 */ 9 26 String format(Way way); 10 27 28 /** 29 * Formats a name for a {@link Relation}. 30 * 31 * @param relation the relation 32 * @return the name 33 */ 11 34 String format(Relation relation); 12 35 36 /** 37 * Formats a name for a {@link Changeset}. 38 * 39 * @param changeset the changeset 40 * @return the name 41 */ 13 42 String format(Changeset changeset); 14 43 -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryNameFormatter.java
r8510 r9203 2 2 package org.openstreetmap.josm.data.osm.history; 3 3 4 /** 5 * Formats a name for a {@link HistoryOsmPrimitive}. 6 * @since 2686 7 */ 4 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 */ 5 16 String format(HistoryNode node); 6 17 7 String format(HistoryWay node); 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); 8 25 9 String format(HistoryRelation node); 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); 10 33 }
Note:
See TracChangeset
for help on using the changeset viewer.