Class SubHandlerPoint


  • public class SubHandlerPoint
    extends SubHandler
    Creates an OGC simple point.
    Author:
    Ian Turton, CCG, Rob Hranac, Vision for New York
    • Constructor Detail

      • SubHandlerPoint

        public SubHandlerPoint()
        Creates a new instance of GMLPointHandler.
    • Method Detail

      • addCoordinate

        public void addCoordinate​(Coordinate coordinate)
        Sets the coordinate for the point.
        Specified by:
        addCoordinate in class SubHandler
        Parameters:
        coordinate - Coordinate.
      • isComplete

        public boolean isComplete​(String message)
        Determines whether or not this Point is ready to be created.
        Specified by:
        isComplete in class SubHandler
        Parameters:
        message - GML element that prompted this query.
        Returns:
        Ready for creation flag.
      • create

        public Geometry create​(GeometryFactory geometryFactory)
        Generates the point.
        Specified by:
        create in class SubHandler
        Parameters:
        geometryFactory - Geometry factory to be used to create the point.
        Returns:
        Created Point.