public class GeometryHandlerBase<G extends Geometry> extends HandlerBase implements IContentHandler<G>
Modifier and Type | Field and Description |
---|---|
protected GeometryFactory |
factory |
protected List<Object> |
ordinates |
protected G |
value |
Constructor and Description |
---|
GeometryHandlerBase(GeometryFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected Coordinate |
coordinate(List ordinates) |
protected Coordinate[] |
coordinates(List coordinates) |
G |
getValue() |
boolean |
primitive(Object value) |
endArray, endJSON, endObject, endObjectEntry, startArray, startJSON, startObject, startObjectEntry
protected GeometryFactory factory
protected G extends Geometry value
public G getValue()
getValue
in interface IContentHandler<G extends Geometry>
protected Coordinate coordinate(List ordinates) throws ParseException
ParseException
protected Coordinate[] coordinates(List coordinates)
public boolean primitive(Object value) throws ParseException, IOException
primitive
in interface ContentHandler
primitive
in class HandlerBase
ParseException
IOException
Copyright © 1996–2019 Geotools. All rights reserved.