Class AbstractGeometrySerializer<T>

java.lang.Object
tools.jackson.databind.ValueSerializer<T>
tools.jackson.databind.ser.std.StdSerializer<T>
io.jmix.mapsflowui.kit.component.serialization.AbstractSerializer<T>
io.jmix.mapsflowui.component.serialization.AbstractGeometrySerializer<T>
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
Direct Known Subclasses:
GeometrySerializer, SimpleGeometrySerializer

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

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer

    tools.jackson.databind.ValueSerializer.None
  • Field Summary

    Fields inherited from class tools.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double[]
    getCoordinates(org.locationtech.jts.geom.Coordinate coordinate)
     
    protected List<double[]>
    getCoordinates(org.locationtech.jts.geom.LineString lineString)
     
    protected List<List<double[]>>
    getCoordinates(org.locationtech.jts.geom.MultiLineString multiLineString)
     
    protected List<double[]>
    getCoordinates(org.locationtech.jts.geom.MultiPoint multiPoint)
     
    protected List<List<List<double[]>>>
    getCoordinates(org.locationtech.jts.geom.MultiPolygon multiPolygon)
     
    protected double[]
    getCoordinates(org.locationtech.jts.geom.Point point)
     
    protected List<List<double[]>>
    getCoordinates(org.locationtech.jts.geom.Polygon polygon)
     
    protected void
    writeCoordinates(double[] coordinates, tools.jackson.core.JsonGenerator gen)
     
    protected void
    writeCoordinatesList(List<double[]> coordinates, tools.jackson.core.JsonGenerator gen)
     
    protected void
    writeCoordinatesListOfTwoNestedList(List<List<List<double[]>>> coordinates, tools.jackson.core.JsonGenerator gen)
     
    protected void
    writeCoordinatesListOneNestedList(List<List<double[]>> coordinates, tools.jackson.core.JsonGenerator gen)
     

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

    serialize, serializeNonNullValue, writeIfNotNull, writeListIfNotEmpty

    Methods inherited from class tools.jackson.databind.ser.std.StdSerializer

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

    Methods inherited from class tools.jackson.databind.ValueSerializer

    createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties

    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

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

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

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

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

      protected List<double[]> getCoordinates(org.locationtech.jts.geom.MultiPoint multiPoint)
    • getCoordinates

      protected List<List<double[]>> getCoordinates(org.locationtech.jts.geom.MultiLineString multiLineString)
    • getCoordinates

      protected List<List<List<double[]>>> getCoordinates(org.locationtech.jts.geom.MultiPolygon multiPolygon)
    • writeCoordinates

      protected void writeCoordinates(double[] coordinates, tools.jackson.core.JsonGenerator gen)
    • writeCoordinatesList

      protected void writeCoordinatesList(List<double[]> coordinates, tools.jackson.core.JsonGenerator gen)
    • writeCoordinatesListOneNestedList

      protected void writeCoordinatesListOneNestedList(List<List<double[]>> coordinates, tools.jackson.core.JsonGenerator gen)
    • writeCoordinatesListOfTwoNestedList

      protected void writeCoordinatesListOfTwoNestedList(List<List<List<double[]>>> coordinates, tools.jackson.core.JsonGenerator gen)