Package org.geotools.gml
Class SubHandlerPoint
Object
SubHandler
SubHandlerPoint
Creates an OGC simple point.
- Author:
- Ian Turton, CCG, Rob Hranac, Vision for New York
-
Field Summary
Fields inherited from class SubHandler
GEOMETRY_END, GEOMETRY_START, GEOMETRY_SUB
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCoordinate
(Coordinate coordinate) Sets the coordinate for the point.create
(GeometryFactory geometryFactory) Generates the point.boolean
isComplete
(String message) Determines whether or not this Point is ready to be created.Methods inherited from class SubHandler
getSRID, getSRS, setSRS, subGeometry, toString
-
Constructor Details
-
SubHandlerPoint
public SubHandlerPoint()Creates a new instance of GMLPointHandler.
-
-
Method Details
-
addCoordinate
Sets the coordinate for the point.- Specified by:
addCoordinate
in classSubHandler
- Parameters:
coordinate
- Coordinate.
-
isComplete
Determines whether or not this Point is ready to be created.- Specified by:
isComplete
in classSubHandler
- Parameters:
message
- GML element that prompted this query.- Returns:
- Ready for creation flag.
-
create
Generates the point.- Specified by:
create
in classSubHandler
- Parameters:
geometryFactory
- Geometry factory to be used to create the point.- Returns:
- Created Point.
-