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 TypeMethodDescriptionvoidaddCoordinate(Coordinate coordinate) Sets the coordinate for the point.create(GeometryFactory geometryFactory) Generates the point.booleanisComplete(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:
addCoordinatein classSubHandler- Parameters:
coordinate- Coordinate.
-
isComplete
Determines whether or not this Point is ready to be created.- Specified by:
isCompletein classSubHandler- Parameters:
message- GML element that prompted this query.- Returns:
- Ready for creation flag.
-
create
Generates the point.- Specified by:
createin classSubHandler- Parameters:
geometryFactory- Geometry factory to be used to create the point.- Returns:
- Created Point.
-