Package org.citydb.config.geometry
Enum GeometryType
- java.lang.Object
-
- java.lang.Enum<GeometryType>
-
- org.citydb.config.geometry.GeometryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeometryType>
public enum GeometryType extends java.lang.Enum<GeometryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPOSITE_SOLID
ENVELOPE
LINE_STRING
MULTI_LINE_STRING
MULTI_POINT
MULTI_POLYGON
POINT
POLYGON
SOLID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeometryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLID
public static final GeometryType SOLID
-
COMPOSITE_SOLID
public static final GeometryType COMPOSITE_SOLID
-
POLYGON
public static final GeometryType POLYGON
-
MULTI_POLYGON
public static final GeometryType MULTI_POLYGON
-
LINE_STRING
public static final GeometryType LINE_STRING
-
POINT
public static final GeometryType POINT
-
MULTI_LINE_STRING
public static final GeometryType MULTI_LINE_STRING
-
MULTI_POINT
public static final GeometryType MULTI_POINT
-
ENVELOPE
public static final GeometryType ENVELOPE
-
-
Method Detail
-
values
public static GeometryType[] 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 (GeometryType c : GeometryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeometryType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-