com.esri.adf.web.ags.data.geometry
Class AGSGeometryOperations

java.lang.Object
  extended by com.esri.adf.web.data.geometry.GeometryOperations
      extended by com.esri.adf.web.ags.data.geometry.AGSGeometryOperations
All Implemented Interfaces:
Serializable

public class AGSGeometryOperations
extends GeometryOperations

See Also:
Serialized Form

Constructor Summary
AGSGeometryOperations()
           
 
Method Summary
 List<WebGeometry> project(List<? extends WebGeometry> geometries, WebSpatialReference toSR)
          Projects the list of geometries to the specified spatial reference.
 WebGeometry project(WebGeometry geometry, WebSpatialReference toSR)
          Projects the geometry to the specified spatial reference.
 void setEndPointURL(String geometryEndPointURL)
          Sets the URL to a Geometry Web Service end point.
 void setServiceCatalogURL(String serviceCatalogURL)
          Sets the service catalog end point URL.
 void setUser(AGSUser user)
          Sets the AGSUser to authenticate connections to secure web services.
 String toString()
          Returns the user friendly name for the concrete implementation class.
 
Methods inherited from class com.esri.adf.web.data.geometry.GeometryOperations
getDefaultInstance, setDefaultInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AGSGeometryOperations

public AGSGeometryOperations()
Method Detail

project

public List<WebGeometry> project(List<? extends WebGeometry> geometries,
                                 WebSpatialReference toSR)
Description copied from class: GeometryOperations
Projects the list of geometries to the specified spatial reference. Also all the geometries that are passed must be in the same spatial reference.

Specified by:
project in class GeometryOperations
Parameters:
geometries - the geometries to project
toSR - the spatial reference to which the geometries are to be projected
Returns:
a java.util.List of projected geometries

project

public WebGeometry project(WebGeometry geometry,
                           WebSpatialReference toSR)
Description copied from class: GeometryOperations
Projects the geometry to the specified spatial reference.

Specified by:
project in class GeometryOperations
Parameters:
geometry - the geometry to project
toSR - the spatial reference to which the geometry to be projected
Returns:
the projected geometry

toString

public String toString()
Description copied from class: GeometryOperations
Returns the user friendly name for the concrete implementation class.

Specified by:
toString in class GeometryOperations

setEndPointURL

public void setEndPointURL(String geometryEndPointURL)
Sets the URL to a Geometry Web Service end point.
  For example,
   http://localhost:8399/arcgis/services/Geometry/GeometryServer
 

Parameters:
geometryEndPointURL - the URL to a Geometry Web Service end point

setServiceCatalogURL

public void setServiceCatalogURL(String serviceCatalogURL)
Sets the service catalog end point URL.
  For example,
   http://localhost:8399/arcgis/services
 

Parameters:
serviceCatalogURL - the service catalog end point URL

setUser

public void setUser(AGSUser user)
Sets the AGSUser to authenticate connections to secure web services.

Parameters:
user - the AGSUser to authenticate connections to secure web services