source: josm/trunk/src/org/openstreetmap/josm/data/osm/NameFormatter.java@ 8509

Last change on this file since 8509 was 4431, checked in by jttt, 13 years ago

Custom primitive name formatters via tagging presets

  • Property svn:eol-style set to native
File size: 424 bytes
RevLine 
[2512]1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.osm;
3
[4070]4import java.util.Comparator;
5
[2512]6public interface NameFormatter {
[4431]7 String format(Node node);
8 String format(Way way);
9 String format(Relation relation);
[2512]10 String format(Changeset changeset);
[4070]11
12 Comparator<Node> getNodeComparator();
13 Comparator<Way> getWayComparator();
14 Comparator<Relation> getRelationComparator();
[2512]15}
Note: See TracBrowser for help on using the repository browser.