Interface NameFormatter

    • Method Detail

      • format

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

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

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

        java.lang.String format​(Changeset changeset)
        Formats a name for a Changeset.
        Parameters:
        changeset - the changeset
        Returns:
        the name
      • getNodeComparator

        java.util.Comparator<INodegetNodeComparator()
        Gets a comparator that sorts the nodes by the string that this formatter would create for them
        Returns:
        That comparator
        Since:
        13564 (signature)
      • getWayComparator

        java.util.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

        java.util.Comparator<IRelation<?>> getRelationComparator()
        Gets a comparator that sorts the relations by the string that this formatter would create for them
        Returns:
        That comparator
        Since:
        13564 (signature)