public enum UnitsOfMapScale extends Enum<UnitsOfMapScale>
Java class for Units_of_Map_Scale.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Units_of_Map_Scale">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="km/pixel"/>
<enumeration value="m/pixel"/>
<enumeration value="mm/pixel"/>
<enumeration value="pixel/deg"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
KM_PIXEL |
M_PIXEL |
MM_PIXEL |
PIXEL_DEG |
| Modifier and Type | Method and Description |
|---|---|
static UnitsOfMapScale |
fromValue(String v) |
String |
value() |
static UnitsOfMapScale |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsOfMapScale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsOfMapScale KM_PIXEL
public static final UnitsOfMapScale M_PIXEL
public static final UnitsOfMapScale MM_PIXEL
public static final UnitsOfMapScale PIXEL_DEG
public static UnitsOfMapScale[] values()
for (UnitsOfMapScale c : UnitsOfMapScale.values()) System.out.println(c);
public static UnitsOfMapScale valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static UnitsOfMapScale fromValue(String v)
Copyright © 2021. All rights reserved.