org.geotools.gml
Class SubHandlerBox
Object
SubHandler
SubHandlerBox
public class SubHandlerBox
- extends SubHandler
Creates a simple OGC box.
- Author:
- Ian Turton, CCG, Rob Hranac, Vision for New York
Constructor Summary |
SubHandlerBox()
Creates a new instance of GMLBoxHandler. |
SubHandlerBox
public SubHandlerBox()
- Creates a new instance of GMLBoxHandler.
addCoordinate
public void addCoordinate(Coordinate c)
- Sets a corner.
- Specified by:
addCoordinate
in class SubHandler
- Parameters:
c
- the coordinate of the corner.
isComplete
public boolean isComplete(String message)
- Sets a corner.
- Specified by:
isComplete
in class SubHandler
- Parameters:
message
- The geometry to inspect.
- Returns:
- Flag for a complete geometry.
create
public Geometry create(GeometryFactory geometryFactory)
- Builds and returns the polygon.
- Specified by:
create
in class SubHandler
- Parameters:
geometryFactory
- the geometryFactory to be used to build the
polygon.
- Returns:
- the polygon.
Copyright © 1996-2014 Geotools. All Rights Reserved.