Interface NameFormatter

All Known Implementing Classes:
DefaultNameFormatter

public interface NameFormatter
Formats a name for an IPrimitive.
Since:
1990
  • Method Details

    • format

      Formats a name for a INode.
      Parameters:
      node - the node
      Returns:
      the name
      Since:
      13564 (signature)
    • format

      String format(IWay<?> way)
      Formats a name for a IWay.
      Parameters:
      way - the way
      Returns:
      the name
      Since:
      13564 (signature)
    • format

      String format(IRelation<?> relation)
      Formats a name for a IRelation.
      Parameters:
      relation - the relation
      Returns:
      the name
      Since:
      13564 (signature)
    • format

      String format(Changeset changeset)
      Formats a name for a Changeset.
      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

      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)