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 boolean
primitive(Object value)
boolean
startObjectEntry(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:
startObjectEntry
in interfaceContentHandler
- Overrides:
startObjectEntry
in classDelegatingHandler<Geometry>
- Throws:
ParseException
IOException
-
primitive
public boolean primitive(Object value) throws ParseException, IOException
- Specified by:
primitive
in interfaceContentHandler
- Overrides:
primitive
in classDelegatingHandler<Geometry>
- Throws:
ParseException
IOException
-
-