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