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:
GeometrySerializer,SimpleGeometrySerializer
- 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected double[]getCoordinates(org.locationtech.jts.geom.Coordinate coordinate) protected List<double[]>getCoordinates(org.locationtech.jts.geom.LineString lineString) getCoordinates(org.locationtech.jts.geom.MultiLineString multiLineString) protected List<double[]>getCoordinates(org.locationtech.jts.geom.MultiPoint multiPoint) getCoordinates(org.locationtech.jts.geom.MultiPolygon multiPolygon) protected double[]getCoordinates(org.locationtech.jts.geom.Point point) getCoordinates(org.locationtech.jts.geom.Polygon polygon) protected voidwriteCoordinates(double[] coordinates, com.fasterxml.jackson.core.JsonGenerator gen) protected voidwriteCoordinatesList(List<double[]> coordinates, com.fasterxml.jackson.core.JsonGenerator gen) protected voidwriteCoordinatesListOfTwoNestedList(List<List<List<double[]>>> coordinates, com.fasterxml.jackson.core.JsonGenerator gen) protected voidwriteCoordinatesListOneNestedList(List<List<double[]>> coordinates, com.fasterxml.jackson.core.JsonGenerator gen) Methods inherited from class io.jmix.mapsflowui.kit.component.serialization.AbstractSerializer
serialize, serializeNonNullValue, writeIfNotNull, writeListIfNotEmptyMethods 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, wrapAndThrowMethods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
AbstractGeometrySerializer
-
-
Method Details
-
getCoordinates
protected double[] getCoordinates(org.locationtech.jts.geom.Coordinate coordinate) -
getCoordinates
protected double[] getCoordinates(org.locationtech.jts.geom.Point point) -
getCoordinates
-
getCoordinates
-
getCoordinates
-
getCoordinates
-
getCoordinates
-
writeCoordinates
protected void writeCoordinates(double[] coordinates, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException - Throws:
IOException
-
writeCoordinatesList
protected void writeCoordinatesList(List<double[]> coordinates, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException - Throws:
IOException
-
writeCoordinatesListOneNestedList
protected void writeCoordinatesListOneNestedList(List<List<double[]>> coordinates, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException - Throws:
IOException
-
writeCoordinatesListOfTwoNestedList
protected void writeCoordinatesListOfTwoNestedList(List<List<List<double[]>>> coordinates, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException - Throws:
IOException
-