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, toString
public SubHandlerPoint()
public void addCoordinate(Coordinate coordinate)
addCoordinate
in class SubHandler
coordinate
- Coordinate.public boolean isComplete(String message)
isComplete
in class SubHandler
message
- GML element that prompted this query.public Geometry create(GeometryFactory geometryFactory)
create
in class SubHandler
geometryFactory
- Geometry factory to be used to create the point.Copyright © 1996–2019 Geotools. All rights reserved.