public final class ReverseWayNoTagCorrector extends java.lang.Object
for handling of tags that can be modified (oneway=yes, etc.)| Modifier and Type | Field and Description |
|---|---|
static TagCollection |
directionalTags
Tags that imply a semantic meaning from the way direction and cannot be changed.
|
| Modifier | Constructor and Description |
|---|---|
private |
ReverseWayNoTagCorrector() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkAndConfirmReverseWay(Way way)
Checks the given way can be safely reversed and asks user to confirm the operation if it not the case.
|
protected static boolean |
confirmReverseWay(Way way,
TagCollection tags) |
static TagCollection |
getDirectionalTags(Way way)
Replies the tags that imply a semantic meaning from
way direction and cannot be changed. |
protected static java.lang.String |
getHTML(TagCollection tags) |
static boolean |
isReversible(Way way)
Tests whether way can be reversed without semantic change.
|
public static final TagCollection directionalTags
private ReverseWayNoTagCorrector()
public static final TagCollection getDirectionalTags(Way way)
way direction and cannot be changed.way - The way to look forway direction and cannot be changedpublic static boolean isReversible(Way way)
way - The way to checkprotected static java.lang.String getHTML(TagCollection tags)
protected static boolean confirmReverseWay(Way way, TagCollection tags)
public static void checkAndConfirmReverseWay(Way way) throws UserCancelException
way - The way to checkUserCancelException - If the user cancels the operation