Package org.geotools.geojson.geom
Class GeometryHandler
- Object
-
- DelegatingHandler<Geometry>
-
- GeometryHandler
-
- All Implemented Interfaces:
IContentHandler<Geometry>,ContentHandler
public class GeometryHandler extends DelegatingHandler<Geometry>
-
-
Field Summary
-
Fields inherited from class DelegatingHandler
delegate, handlers, NULL, NULL_LIST, UNINITIALIZED
-
-
Constructor Summary
Constructors Constructor Description GeometryHandler(GeometryFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprimitive(Object value)booleanstartObjectEntry(String key)-
Methods inherited from class DelegatingHandler
createDelegate, endArray, endJSON, endObject, endObjectEntry, getDelegate, getValue, lookupDelegate, startArray, startJSON, startObject
-
-
-
-
Constructor Detail
-
GeometryHandler
public GeometryHandler(GeometryFactory factory)
-
-
Method Detail
-
startObjectEntry
public boolean startObjectEntry(String key) throws ParseException, IOException
- Specified by:
startObjectEntryin interfaceContentHandler- Overrides:
startObjectEntryin classDelegatingHandler<Geometry>- Throws:
ParseExceptionIOException
-
primitive
public boolean primitive(Object value) throws ParseException, IOException
- Specified by:
primitivein interfaceContentHandler- Overrides:
primitivein classDelegatingHandler<Geometry>- Throws:
ParseExceptionIOException
-
-