Class ValidationErrorType

java.lang.Object
com.vividsolutions.jump.qa.ValidationErrorType

public class ValidationErrorType extends Object
The types of validation errors detected by Validator.
See Also:
  • Field Details

    • GEOMETRY_CLASS_DISALLOWED

      public static final ValidationErrorType GEOMETRY_CLASS_DISALLOWED
      Geometry class not allowed
    • BASIC_TOPOLOGY_INVALID

      public static final ValidationErrorType BASIC_TOPOLOGY_INVALID
      Basic topology is invalid
    • EXTERIOR_RING_CCW

      public static final ValidationErrorType EXTERIOR_RING_CCW
      Polygon shell is oriented counter-clockwise
    • INTERIOR_RING_CW

      public static final ValidationErrorType INTERIOR_RING_CW
      Polygon hole is oriented clockwise
    • NONSIMPLE

      public static final ValidationErrorType NONSIMPLE
      Linestring not simple
      Since:
      OpenJUMP 1.6
    • SMALL_SEGMENT

      public static final ValidationErrorType SMALL_SEGMENT
      Contains segment with length below minimum
    • SMALL_AREA

      public static final ValidationErrorType SMALL_AREA
      Is/contains polygon with area below minimum
    • SMALL_ANGLE

      public static final ValidationErrorType SMALL_ANGLE
      Contains segments with angle below minimum
    • POLYGON_HAS_HOLES

      public static final ValidationErrorType POLYGON_HAS_HOLES
      Polygon has holes
    • REPEATED_CONSECUTIVE_POINTS

      public static final ValidationErrorType REPEATED_CONSECUTIVE_POINTS
      Consecutive points are the same
  • Method Details

    • getMessage

      public String getMessage()
      Returns a description of the error.
      Returns:
      a description of the error
    • toString

      public String toString()
      Overrides:
      toString in class Object