Class PointParser
- Object
-
- BaseParser
-
- PointParser
-
- All Implemented Interfaces:
GeometryParser<Point>
public class PointParser extends BaseParser implements GeometryParser<Point>
Created by mihaildoronin on 11/11/15.
-
-
Field Summary
-
Fields inherited from class BaseParser
geometryFactory
-
-
Constructor Summary
Constructors Constructor Description PointParser(GeometryFactory geometryFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Coordinate
coordinateFromJson(JsonNode array)
static Coordinate[]
coordinatesFromJson(JsonNode array)
Point
geometryFromJson(JsonNode node)
Point
pointFromJson(JsonNode node)
-
-
-
Constructor Detail
-
PointParser
public PointParser(GeometryFactory geometryFactory)
-
-
Method Detail
-
coordinateFromJson
public static Coordinate coordinateFromJson(JsonNode array)
-
coordinatesFromJson
public static Coordinate[] coordinatesFromJson(JsonNode array)
-
pointFromJson
public Point pointFromJson(JsonNode node)
-
geometryFromJson
public Point geometryFromJson(JsonNode node) throws JsonMappingException
- Specified by:
geometryFromJson
in interfaceGeometryParser<Point>
- Throws:
JsonMappingException
-
-