Class LineStringParser
- Object
-
- BaseParser
-
- LineStringParser
-
- All Implemented Interfaces:
GeometryParser<LineString>
public class LineStringParser extends BaseParser implements GeometryParser<LineString>
Created by mihaildoronin on 11/11/15.
-
-
Field Summary
-
Fields inherited from class BaseParser
geometryFactory
-
-
Constructor Summary
Constructors Constructor Description LineStringParser(GeometryFactory geometryFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineString
geometryFromJson(JsonNode node)
LineString
lineStringFromJson(JsonNode root)
-
-
-
Constructor Detail
-
LineStringParser
public LineStringParser(GeometryFactory geometryFactory)
-
-
Method Detail
-
lineStringFromJson
public LineString lineStringFromJson(JsonNode root)
-
geometryFromJson
public LineString geometryFromJson(JsonNode node) throws JsonMappingException
- Specified by:
geometryFromJson
in interfaceGeometryParser<LineString>
- Throws:
JsonMappingException
-
-