public class SubHandlerPoint extends SubHandler
GEOMETRY_END, GEOMETRY_START, GEOMETRY_SUB| Constructor and Description |
|---|
SubHandlerPoint()
Creates a new instance of GMLPointHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCoordinate(Coordinate coordinate)
Sets the coordinate for the point.
|
Geometry |
create(GeometryFactory geometryFactory)
Generates the point.
|
boolean |
isComplete(String message)
Determines whether or not this Point is ready to be created.
|
getSRID, getSRS, setSRS, subGeometry, toStringpublic SubHandlerPoint()
public void addCoordinate(Coordinate coordinate)
addCoordinate in class SubHandlercoordinate - Coordinate.public boolean isComplete(String message)
isComplete in class SubHandlermessage - GML element that prompted this query.public Geometry create(GeometryFactory geometryFactory)
create in class SubHandlergeometryFactory - Geometry factory to be used to create the point.Copyright © 1996–2019 Geotools. All rights reserved.