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 Coordinatecoordinate(List ordinates) protected Coordinate[]coordinates(List<Coordinate> coordinates) getValue()booleanMethods inherited from class HandlerBase
endArray, endJSON, endObject, endObjectEntry, startArray, startJSON, startObject, startObjectEntryMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getValuein interfaceIContentHandler<G extends Geometry>
-
coordinate
- Throws:
ParseException
-
coordinates
-
primitive
- Specified by:
primitivein interfaceContentHandler- Overrides:
primitivein classHandlerBase- Throws:
ParseExceptionIOException
-