Package org.bremersee.geojson.model
Enum Feature.TypeEnum
- java.lang.Object
-
- java.lang.Enum<Feature.TypeEnum>
-
- org.bremersee.geojson.model.Feature.TypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<Feature.TypeEnum>
- Enclosing class:
- Feature
public static enum Feature.TypeEnum extends Enum<Feature.TypeEnum>
The feature type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FEATURE
Feature type enum.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Feature.TypeEnum
fromValue(String text)
From value type enum.String
toString()
static Feature.TypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static Feature.TypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FEATURE
public static final Feature.TypeEnum FEATURE
Feature type enum.
-
-
Method Detail
-
values
public static Feature.TypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Feature.TypeEnum c : Feature.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Feature.TypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<Feature.TypeEnum>
-
fromValue
public static Feature.TypeEnum fromValue(String text)
From value type enum.- Parameters:
text
- the text- Returns:
- the type enum
-
-