com.esri.arcgis.datasourcesraster
Class GeoTransformationHelper

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.GeoTransformationHelper
All Implemented Interfaces:
IGeoTransformationHelper, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GeoTransformationHelper
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGeoTransformationHelper

COM Class 'GeoTransformationHelper'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'The geograpgic transformation (datum conversion) helper class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IGeoTransformationHelper
IID, IID1e0bd206_6370_4a39_b79a_cae98f94640b, xxDummy
 
Constructor Summary
GeoTransformationHelper()
          Constructs a GeoTransformationHelper using ArcGIS Engine.
GeoTransformationHelper(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeoTransformationHelper theGeoTransformationHelper = (GeoTransformationHelper) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IArray getDefaultTargetCoordinateSystems()
          The collection of ISpatialReference objects used as default target coordinate systems by the 'Install' method if the 'pTargetSR' argument is not specified.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void init(IGeoTransformationOperationSet pGTs, IGeographicCoordinateSystem pCompositionGCS)
          Initializes the object given a primary set of geographic transformation operators (GT + direction).
 void install(ISpatialReference pSourceSR, ISpatialReference pTargetSR, boolean bAddNew)
          Sets the system default geographic transformation on the primary operation set if missing.
 void release()
          Release a GeoTransformationHelper.
 void removeAll()
          All previously installed geotransformation methods are removed from the system.
 void set(int direction, IGeoTransformation pGT, boolean bAddNew)
          Sets the system default geographic transformation on the primary operation set if missing.
 void setDefaultTargetCoordinateSystemsByRef(IArray ppDefaultTargetCoordinateSystems)
          The collection of ISpatialReference objects used as default target coordinate systems by the 'Install' method if the 'pTargetSR' argument is not specified.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoTransformationHelper

public GeoTransformationHelper()
                        throws java.io.IOException,
                               java.net.UnknownHostException
Constructs a GeoTransformationHelper using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeoTransformationHelper

public GeoTransformationHelper(java.lang.Object obj)
                        throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeoTransformationHelper theGeoTransformationHelper = (GeoTransformationHelper) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GeoTransformationHelper.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

init

public void init(IGeoTransformationOperationSet pGTs,
                 IGeographicCoordinateSystem pCompositionGCS)
          throws java.io.IOException,
                 AutomationException
Initializes the object given a primary set of geographic transformation operators (GT + direction). Previously installed geotransformation methods are removed from the system.

Specified by:
init in interface IGeoTransformationHelper
Parameters:
pGTs - A reference to a com.esri.arcgis.geometry.IGeoTransformationOperationSet (in)
pCompositionGCS - A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

install

public void install(ISpatialReference pSourceSR,
                    ISpatialReference pTargetSR,
                    boolean bAddNew)
             throws java.io.IOException,
                    AutomationException
Sets the system default geographic transformation on the primary operation set if missing.

Specified by:
install in interface IGeoTransformationHelper
Parameters:
pSourceSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
pTargetSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
bAddNew - The bAddNew (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws java.io.IOException,
                      AutomationException
All previously installed geotransformation methods are removed from the system.

Specified by:
removeAll in interface IGeoTransformationHelper
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultTargetCoordinateSystemsByRef

public void setDefaultTargetCoordinateSystemsByRef(IArray ppDefaultTargetCoordinateSystems)
                                            throws java.io.IOException,
                                                   AutomationException
The collection of ISpatialReference objects used as default target coordinate systems by the 'Install' method if the 'pTargetSR' argument is not specified.

Specified by:
setDefaultTargetCoordinateSystemsByRef in interface IGeoTransformationHelper
Parameters:
ppDefaultTargetCoordinateSystems - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultTargetCoordinateSystems

public IArray getDefaultTargetCoordinateSystems()
                                         throws java.io.IOException,
                                                AutomationException
The collection of ISpatialReference objects used as default target coordinate systems by the 'Install' method if the 'pTargetSR' argument is not specified.

Specified by:
getDefaultTargetCoordinateSystems in interface IGeoTransformationHelper
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

set

public void set(int direction,
                IGeoTransformation pGT,
                boolean bAddNew)
         throws java.io.IOException,
                AutomationException
Sets the system default geographic transformation on the primary operation set if missing.

Specified by:
set in interface IGeoTransformationHelper
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
pGT - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
bAddNew - The bAddNew (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.