Package org.geotools.geojson.geom
Class GeometryHandlerBase<G extends Geometry>
Object
HandlerBase
GeometryHandlerBase<G>
- All Implemented Interfaces:
IContentHandler<G>
,ContentHandler
- Direct Known Subclasses:
LineHandler
,MultiLineHandler
,MultiPointHandler
,MultiPolygonHandler
,PointHandler
,PolygonHandler
public class GeometryHandlerBase<G extends Geometry>
extends HandlerBase
implements IContentHandler<G>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Coordinate
coordinate
(List ordinates) protected Coordinate[]
coordinates
(List<Coordinate> coordinates) getValue()
boolean
Methods inherited from class HandlerBase
endArray, endJSON, endObject, endObjectEntry, startArray, startJSON, startObject, startObjectEntry
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ContentHandler
endArray, endJSON, endObject, endObjectEntry, startArray, startJSON, startObject, startObjectEntry
-
Field Details
-
factory
-
ordinates
-
value
-
-
Constructor Details
-
GeometryHandlerBase
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceIContentHandler<G extends Geometry>
-
coordinate
- Throws:
ParseException
-
coordinates
-
primitive
- Specified by:
primitive
in interfaceContentHandler
- Overrides:
primitive
in classHandlerBase
- Throws:
ParseException
IOException
-