Enum Class ELcdKML22ContentType

java.lang.Object
java.lang.Enum<ELcdKML22ContentType>
com.luciad.format.kml22.model.ELcdKML22ContentType
All Implemented Interfaces:
Serializable, Comparable<ELcdKML22ContentType>, Constable

public enum ELcdKML22ContentType extends Enum<ELcdKML22ContentType>
Enumeration for the different content types that can be part of a KML model.
Since:
10.0
  • Enum Constant Details

    • PLACEMARK_POINT

      public static final ELcdKML22ContentType PLACEMARK_POINT
      Placemark with a point geometry.
    • PLACEMARK_LINESTRING

      public static final ELcdKML22ContentType PLACEMARK_LINESTRING
      Placemark with a point geometry.
    • PLACEMARK_LINEAR_RING

      public static final ELcdKML22ContentType PLACEMARK_LINEAR_RING
      Placemark with a line string geometry.
    • PLACEMARK_POLYGON

      public static final ELcdKML22ContentType PLACEMARK_POLYGON
      Placemark with a linear ring geometry.
    • PLACEMARK_MULTI_GEOMETRY

      public static final ELcdKML22ContentType PLACEMARK_MULTI_GEOMETRY
      Placemark with a polygon geometry.
    • PLACEMARK_NO_GEOMETRY

      public static final ELcdKML22ContentType PLACEMARK_NO_GEOMETRY
      Placemark with a multigeometry.
    • PLACEMARK_MODEL

      public static final ELcdKML22ContentType PLACEMARK_MODEL
      Placemark with a 3D model.
    • PHOTO_OVERLAY

      public static final ELcdKML22ContentType PHOTO_OVERLAY
      Photo overlay.
    • GROUND_OVERLAY

      public static final ELcdKML22ContentType GROUND_OVERLAY
      Ground overlay.
    • SCREEN_OVERLAY

      public static final ELcdKML22ContentType SCREEN_OVERLAY
      Screen overlay.
  • Method Details

    • values

      public static ELcdKML22ContentType[] 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

      public static ELcdKML22ContentType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getContentType

      public static ELcdKML22ContentType getContentType(TLcdKML22AbstractFeature aKMLFeature)
      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