Class AbstractGeometrySerializer<T>

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
io.jmix.mapsflowui.kit.component.serialization.AbstractSerializer<T>
io.jmix.mapsflowui.component.serialization.AbstractGeometrySerializer<T>
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, Serializable
Direct Known Subclasses:
LineStringGeometrySerializer, PointGeometrySerializer, PolygonGeometrySerializer

public abstract class AbstractGeometrySerializer<T> extends AbstractSerializer<T>
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

    com.fasterxml.jackson.databind.JsonSerializer.None
  • Field Summary

    Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    getCoordinates(org.locationtech.jts.geom.Coordinate coordinate)
     
    List<double[]>
    getCoordinates(org.locationtech.jts.geom.LineString lineString)
     
    double[]
    getCoordinates(org.locationtech.jts.geom.Point point)
     
    List<List<double[]>>
    getCoordinates(org.locationtech.jts.geom.Polygon polygon)
     

    Methods inherited from class io.jmix.mapsflowui.kit.component.serialization.AbstractSerializer

    serialize, serializeNonNullValue, writeIfNotNull, writeListIfNotEmpty

    Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractGeometrySerializer

      public AbstractGeometrySerializer(Class<T> t)
  • Method Details

    • getCoordinates

      public double[] getCoordinates(org.locationtech.jts.geom.Coordinate coordinate)
    • getCoordinates

      public double[] getCoordinates(org.locationtech.jts.geom.Point point)
    • getCoordinates

      public List<double[]> getCoordinates(org.locationtech.jts.geom.LineString lineString)
    • getCoordinates

      public List<List<double[]>> getCoordinates(org.locationtech.jts.geom.Polygon polygon)