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 booleanendObject()booleanendObjectEntry()GeometryCollectiongetValue()booleanprimitive(Object value)booleanstartObject()booleanstartObjectEntry(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:
startObjectin interfaceContentHandler- Overrides:
startObjectin classDelegatingHandler<GeometryCollection>- Throws:
ParseExceptionIOException
-
endObject
public boolean endObject() throws ParseException, IOException- Specified by:
endObjectin interfaceContentHandler- Overrides:
endObjectin classDelegatingHandler<GeometryCollection>- Throws:
ParseExceptionIOException
-
startObjectEntry
public boolean startObjectEntry(String key) throws ParseException, IOException
- Specified by:
startObjectEntryin interfaceContentHandler- Overrides:
startObjectEntryin classDelegatingHandler<GeometryCollection>- Throws:
ParseExceptionIOException
-
endObjectEntry
public boolean endObjectEntry() throws ParseException, IOException- Specified by:
endObjectEntryin interfaceContentHandler- Overrides:
endObjectEntryin classDelegatingHandler<GeometryCollection>- Throws:
ParseExceptionIOException
-
primitive
public boolean primitive(Object value) throws ParseException, IOException
- Specified by:
primitivein interfaceContentHandler- Overrides:
primitivein classDelegatingHandler<GeometryCollection>- Throws:
ParseExceptionIOException
-
getValue
public GeometryCollection getValue()
- Specified by:
getValuein interfaceIContentHandler<GeometryCollection>- Overrides:
getValuein classDelegatingHandler<GeometryCollection>
-
-