Modifier and Type | Field and Description |
---|---|
private static Set<String> |
FALSE_VALUES |
static String |
falseval |
private static Set<String> |
REVERSE_VALUES |
static String |
reverseval |
private static Set<String> |
TRUE_VALUES |
static String |
trueval |
Modifier | Constructor and Description |
---|---|
private |
OsmUtils() |
Modifier and Type | Method and Description |
---|---|
static OsmPrimitive |
createPrimitive(String assertion)
Creates a new OSM primitive according to the given assertion.
|
static String |
getNamedOsmBoolean(String value) |
static Boolean |
getOsmBoolean(String value) |
static boolean |
isFalse(String value) |
static boolean |
isReversed(String value) |
static boolean |
isTrue(String value) |
private static final Set<String> TRUE_VALUES
private static final Set<String> FALSE_VALUES
private static final Set<String> REVERSE_VALUES
public static final String trueval
public static final String falseval
public static final String reverseval
private OsmUtils()
public static Boolean getOsmBoolean(String value)
public static String getNamedOsmBoolean(String value)
public static boolean isReversed(String value)
public static OsmPrimitive createPrimitive(String assertion)
assertion
- The assertion describing OSM primitive (ex: "way name=Foo railway=rail")IllegalArgumentException
- if assertion is null or if the primitive type cannot be deduced from it