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