public interface NameFormatter
IPrimitive
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(Changeset changeset)
Formats a name for a
Changeset . |
java.lang.String |
format(INode node)
Formats a name for a
INode . |
java.lang.String |
format(IRelation relation)
Formats a name for a
IRelation . |
java.lang.String |
format(IWay way)
Formats a name for a
IWay . |
java.util.Comparator<INode> |
getNodeComparator()
Gets a comparator that sorts the nodes by the string that this formatter would create for them
|
java.util.Comparator<IRelation> |
getRelationComparator()
Gets a comparator that sorts the relations by the string that this formatter would create for them
|
java.util.Comparator<IWay> |
getWayComparator()
Gets a comparator that sorts the ways by the string that this formatter would create for them
|
java.lang.String format(INode node)
INode
.node
- the nodejava.lang.String format(IWay way)
IWay
.way
- the wayjava.lang.String format(IRelation relation)
IRelation
.relation
- the relationjava.lang.String format(Changeset changeset)
Changeset
.changeset
- the changesetjava.util.Comparator<INode> getNodeComparator()
java.util.Comparator<IWay> getWayComparator()
java.util.Comparator<IRelation> getRelationComparator()