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, startObjectEntryprotected GeometryFactory factory
protected G extends Geometry value
public G getValue()
getValue in interface IContentHandler<G extends Geometry>protected Coordinate coordinate(List ordinates) throws ParseException
ParseExceptionprotected Coordinate[] coordinates(List coordinates)
public boolean primitive(Object value) throws ParseException, IOException
primitive in interface ContentHandlerprimitive in class HandlerBaseParseExceptionIOExceptionCopyright © 1996–2019 Geotools. All rights reserved.