com.esri.arcgis.arcweb
Class ArcWebUtility

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebUtility
All Implemented Interfaces:
IArcWebUtility, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class ArcWebUtility
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebUtility, ISupportErrorInfo

A useful ArcWeb set of utilities.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
ArcWebUtility()
          Constructs a ArcWebUtility using ArcGIS Engine.
ArcWebUtility(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebUtility theArcWebUtility = (ArcWebUtility) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 IGeometry projectGeometry(IGeometry pGeometry, ISpatialReference pSpatialReference, ITrackCancel cancelTracker)
          Projects a geometry of type point, polyline, polygon or envelope.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

ArcWebUtility

public ArcWebUtility()
              throws IOException,
                     UnknownHostException
Constructs a ArcWebUtility using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

ArcWebUtility

public ArcWebUtility(Object obj)
              throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebUtility theArcWebUtility = (ArcWebUtility) obj;

Construct a ArcWebUtility using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ArcWebUtility.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

projectGeometry

public IGeometry projectGeometry(IGeometry pGeometry,
                                 ISpatialReference pSpatialReference,
                                 ITrackCancel cancelTracker)
                          throws IOException,
                                 AutomationException
Projects a geometry of type point, polyline, polygon or envelope.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
projectGeometry in interface IArcWebUtility
Parameters:
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.