Package org.openstreetmap.josm.data.osm
Interface NameFormatter
- All Known Implementing Classes:
DefaultNameFormatter
public interface NameFormatter
Formats a name for an
IPrimitive.- Since:
- 1990
-
Method Summary
Modifier and TypeMethodDescriptionFormats a name for aChangeset.Formats a name for aINode.Formats a name for aIRelation.Formats a name for aIWay.Gets a comparator that sorts the nodes by the string that this formatter would create for themComparator<IRelation<?>>Gets a comparator that sorts the relations by the string that this formatter would create for themComparator<IWay<?>>Gets a comparator that sorts the ways by the string that this formatter would create for them
-
Method Details
-
format
Formats a name for aINode.- Parameters:
node- the node- Returns:
- the name
- Since:
- 13564 (signature)
-
format
Formats a name for aIWay.- Parameters:
way- the way- Returns:
- the name
- Since:
- 13564 (signature)
-
format
Formats a name for aIRelation.- Parameters:
relation- the relation- Returns:
- the name
- Since:
- 13564 (signature)
-
format
Formats a name for aChangeset.- Parameters:
changeset- the changeset- Returns:
- the name
-
getNodeComparator
Gets a comparator that sorts the nodes by the string that this formatter would create for them- Returns:
- That comparator
- Since:
- 13564 (signature)
-
getWayComparator
Comparator<IWay<?>> getWayComparator()Gets a comparator that sorts the ways by the string that this formatter would create for them- Returns:
- That comparator
- Since:
- 13564 (signature)
-
getRelationComparator
Gets a comparator that sorts the relations by the string that this formatter would create for them- Returns:
- That comparator
- Since:
- 13564 (signature)
-