Package org.geotools.geojson.geom
Class PolygonHandler
- Object
-
- HandlerBase
-
- GeometryHandlerBase<Polygon>
-
- PolygonHandler
-
- All Implemented Interfaces:
IContentHandler<Polygon>
,ContentHandler
public class PolygonHandler extends GeometryHandlerBase<Polygon>
-
-
Field Summary
-
Fields inherited from class GeometryHandlerBase
factory, ordinates, value
-
-
Constructor Summary
Constructors Constructor Description PolygonHandler(GeometryFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
endArray()
boolean
endObject()
boolean
startArray()
boolean
startObjectEntry(String key)
-
Methods inherited from class GeometryHandlerBase
coordinate, coordinates, getValue, primitive
-
Methods inherited from class HandlerBase
endJSON, endObjectEntry, startJSON, startObject
-
-
-
-
Constructor Detail
-
PolygonHandler
public PolygonHandler(GeometryFactory factory)
-
-
Method Detail
-
startObjectEntry
public boolean startObjectEntry(String key) throws ParseException, IOException
- Specified by:
startObjectEntry
in interfaceContentHandler
- Overrides:
startObjectEntry
in classHandlerBase
- Throws:
ParseException
IOException
-
endObject
public boolean endObject() throws ParseException, IOException
- Specified by:
endObject
in interfaceContentHandler
- Overrides:
endObject
in classHandlerBase
- Throws:
ParseException
IOException
-
startArray
public boolean startArray() throws ParseException, IOException
- Specified by:
startArray
in interfaceContentHandler
- Overrides:
startArray
in classHandlerBase
- Throws:
ParseException
IOException
-
endArray
public boolean endArray() throws ParseException, IOException
- Specified by:
endArray
in interfaceContentHandler
- Overrides:
endArray
in classHandlerBase
- Throws:
ParseException
IOException
-
-