Class PolygonDatatype

java.lang.Object
io.jmix.maps.datatype.PolygonDatatype
All Implemented Interfaces:
Datatype<org.locationtech.jts.geom.Polygon>

public class PolygonDatatype extends Object implements Datatype<org.locationtech.jts.geom.Polygon>
  • Constructor Details

    • PolygonDatatype

      public PolygonDatatype()
  • Method Details

    • format

      public String format(@Nullable Object value)
      Description copied from interface: Datatype
      Converts value to String. Returns an empty string for null value.
      Specified by:
      format in interface Datatype<org.locationtech.jts.geom.Polygon>
    • format

      public String format(@Nullable Object value, Locale locale)
      Description copied from interface: Datatype
      Converts value to String taking into account local formats. Returns an empty string for null value.
      Specified by:
      format in interface Datatype<org.locationtech.jts.geom.Polygon>
    • parse

      @Nullable public org.locationtech.jts.geom.Polygon parse(@Nullable String value) throws ParseException
      Description copied from interface: Datatype
      Parses value from String
      Specified by:
      parse in interface Datatype<org.locationtech.jts.geom.Polygon>
      Throws:
      ParseException
    • parse

      @Nullable public org.locationtech.jts.geom.Polygon parse(@Nullable String value, Locale locale) throws ParseException
      Description copied from interface: Datatype
      Parses value from String taking into account local formats
      Specified by:
      parse in interface Datatype<org.locationtech.jts.geom.Polygon>
      Throws:
      ParseException