public class GeometryParser<P extends Position> extends AbstractGeometryParser<P,Geometry<P>> implements com.fasterxml.jackson.databind.deser.ResolvableDeserializer
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<GeometryType,AbstractGeometryParser<?,?>> |
parsers |
private static java.util.Map<GeometryType,java.lang.Class<?>> |
typeMap |
context| Constructor and Description |
|---|
GeometryParser(Context<P> context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
canHandle(com.fasterxml.jackson.databind.JsonNode root) |
Geometry<P> |
parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
void |
resolve(com.fasterxml.jackson.databind.DeserializationContext ctxt) |
deserialize, getCoordinatesArrayAsLinear, getCoordinatesArrayAsPolygonal, getCoordinatesArrayAsPolygonList, getCoordinatesArrayAsSinglePosition, getCrsId, getDefaultCrs, getRoot, getType, isFeatureSet, parse, resolveCrs, toLinearPositionsListHolder, toSinglePositionCoordinatesHolderdeserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializerprivate static final java.util.Map<GeometryType,java.lang.Class<?>> typeMap
private java.util.Map<GeometryType,AbstractGeometryParser<?,?>> parsers
public Geometry<P> parse(com.fasterxml.jackson.databind.JsonNode root, CoordinateReferenceSystem<P> defaultCrs) throws GeoJsonProcessingException
parse in class AbstractGeometryParser<P extends Position,Geometry<P extends Position>>GeoJsonProcessingExceptionprotected void canHandle(com.fasterxml.jackson.databind.JsonNode root)
throws GeoJsonProcessingException
canHandle in class AbstractGeometryParser<P extends Position,Geometry<P extends Position>>GeoJsonProcessingExceptionpublic void resolve(com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws com.fasterxml.jackson.databind.JsonMappingException
resolve in interface com.fasterxml.jackson.databind.deser.ResolvableDeserializercom.fasterxml.jackson.databind.JsonMappingException