private String writePoint(Point point) {

        String xml = "";
        xml += "<gml:Point srsName=\"http://www.opengis.net/gml/srs/epsg.xml@900913\" srsDimension=\"2\">"
                + "<gml:pos>" + point.getX() + " " + point.getY() +"</gml:pos>"
                + "</gml:Point>";

        return xml;
    }
private String writePoint(Point point) {

        String xml = "";
        xml += "<gml:Point srsName=\"http:
                + "<gml:pos>" + point.getX() + " " + point.getY() +"</gml:pos>"
                + "</gml:Point>";

        return xml;
    }
private String writePoint ( Point point ) { String xml = "" ; xml += "<gml:Point srsName=\"http://www.opengis.net/gml/srs/epsg.xml@900913\" srsDimension=\"2\">" + "<gml:pos>" + point . getX ( ) + " " + point . getY ( ) + "</gml:pos>" + "</gml:Point>" ; return xml ; }
Takes in a point and writes its xml

@param point the point
@return the xml
Takes in a point and writes its xml