| |
|
| java.lang.Object org.geotools.gml.SubHandler org.geotools.gml.SubHandlerLinearRing
SubHandlerLinearRing | public class SubHandlerLinearRing extends SubHandler (Code) | | Creates a simple OGC LinearRing (a closed LineString).
author: Ian Turton, CCG author: Rob Hranac, Vision for New York version: $Id: SubHandlerLinearRing.java 26168 2007-07-06 19:58:03Z jgarnett $ |
Method Summary | |
public void | addCoordinate(Coordinate coordinate) Adds a coordinate to the LinearRing. | public Geometry | create(GeometryFactory geometryFactory) Create the LinearRing.
Parameters: geometryFactory - The geometry factory used for the build. | public boolean | isComplete(String message) Determine whether or not this LinearRing is ready to be created.
Parameters: message - The current geometry type in the GML stream. |
SubHandlerLinearRing | public SubHandlerLinearRing()(Code) | | Creates a new instance of GMLLinearRingHandler.
|
addCoordinate | public void addCoordinate(Coordinate coordinate)(Code) | | Adds a coordinate to the LinearRing.
Parameters: coordinate - The coordinate to add to the LinearRing. |
create | public Geometry create(GeometryFactory geometryFactory)(Code) | | Create the LinearRing.
Parameters: geometryFactory - The geometry factory used for the build. LinearRing geometry created. |
isComplete | public boolean isComplete(String message)(Code) | | Determine whether or not this LinearRing is ready to be created.
Parameters: message - The current geometry type in the GML stream. Ready for creation flag. |
|
|
|