Package com.luciad.format.kml22.model
Enum Class ELcdKML22ContentType
- All Implemented Interfaces:
Serializable
,Comparable<ELcdKML22ContentType>
,Constable
Enumeration for the different content types that can be part of a KML model.
- Since:
- 10.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGround overlay.Photo overlay.Placemark with a line string geometry.Placemark with a point geometry.Placemark with a 3D model.Placemark with a polygon geometry.Placemark with a multigeometry.Placemark with a point geometry.Placemark with a linear ring geometry.Screen overlay. -
Method Summary
Modifier and TypeMethodDescriptionstatic ELcdKML22ContentType
getContentType
(TLcdKML22AbstractFeature aKMLFeature) Gets the content type for a given KML feature.static ELcdKML22ContentType
Returns the enum constant of this class with the specified name.static ELcdKML22ContentType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLACEMARK_POINT
Placemark with a point geometry. -
PLACEMARK_LINESTRING
Placemark with a point geometry. -
PLACEMARK_LINEAR_RING
Placemark with a line string geometry. -
PLACEMARK_POLYGON
Placemark with a linear ring geometry. -
PLACEMARK_MULTI_GEOMETRY
Placemark with a polygon geometry. -
PLACEMARK_NO_GEOMETRY
Placemark with a multigeometry. -
PLACEMARK_MODEL
Placemark with a 3D model. -
PHOTO_OVERLAY
Photo overlay. -
GROUND_OVERLAY
Ground overlay. -
SCREEN_OVERLAY
Screen overlay.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getContentType
Gets the content type for a given KML feature.- Parameters:
aKMLFeature
- a KML feature for which the content type should be returned- Returns:
- An ELcdKML22ContentType that matches the given aKMLFeature
-