Enum Class ShapeType

java.lang.Object
java.lang.Enum<ShapeType>
ch.so.agi.gretl.internal.shapefile.core.ShapeType
All Implemented Interfaces:
Serializable, Comparable<ShapeType>, Constable

public enum ShapeType extends Enum<ShapeType>
  • Enum Constant Details

    • NULL

      public static final ShapeType NULL
    • POINT

      public static final ShapeType POINT
    • POLYLINE

      public static final ShapeType POLYLINE
    • POLYGON

      public static final ShapeType POLYGON
    • MULTIPOINT

      public static final ShapeType MULTIPOINT
    • POINT_Z

      public static final ShapeType POINT_Z
    • POLYLINE_Z

      public static final ShapeType POLYLINE_Z
    • POLYGON_Z

      public static final ShapeType POLYGON_Z
    • MULTIPOINT_Z

      public static final ShapeType MULTIPOINT_Z
    • POINT_M

      public static final ShapeType POINT_M
    • POLYLINE_M

      public static final ShapeType POLYLINE_M
    • POLYGON_M

      public static final ShapeType POLYGON_M
    • MULTIPOINT_M

      public static final ShapeType MULTIPOINT_M
    • MULTIPATCH

      public static final ShapeType MULTIPATCH
  • Method Details

    • values

      public static ShapeType[] 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 ShapeType 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
    • code

      public int code()
    • fromCode

      public static ShapeType fromCode(int code) throws ShapefileMappingException
      Throws:
      ShapefileMappingException
    • isSupported2dMvp

      public boolean isSupported2dMvp()
    • defaultGeometryKind

      public GeometryKind defaultGeometryKind() throws ShapefileMappingException
      Throws:
      ShapefileMappingException