com.esri.arcgis.carto
Class RasterServiceHelper

java.lang.Object
  extended by com.esri.arcgis.carto.RasterServiceHelper
All Implemented Interfaces:
IRasterServiceHelper, IRasterServiceHelper2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RasterServiceHelper
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterServiceHelper, IRasterServiceHelper2

COM Class 'RasterServiceHelper'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'A Web Service 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.IRasterServiceHelper2
IID, IID6ee84cb4_696c_4cba_b544_5a153e1a20eb, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterServiceHelper
IID57326724_e6ca_4162_9de3_11510201cc30
 
Constructor Summary
RasterServiceHelper()
          Constructs a RasterServiceHelper using ArcGIS Engine.
RasterServiceHelper(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterServiceHelper theRasterServiceHelper = (RasterServiceHelper) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IPropertySet getLayerPropertiesFromURL(java.lang.String uRL)
          Gets the WMS layer names from the URL.
 int hashCode()
          the hashcode for this object
 IRasterDataset open(IName pName)
          Creates a raster dataset given a WCS or Image Service name object.
 IRasterDataset openFromFile(java.lang.String urlString)
          Creates a raster dataset given an Image Service Reference file.
 IRasterDataset openFromURL(java.lang.String uRL, java.lang.String rasterTypeName, IPropertySet pWMSParameters)
          Opens the image service referenced by the URL as a raster dataset.
 IRasterDataset openWMSConnection(IName pName, IPropertySet pConnectionProperties, IPropertySet pWMSParameters)
          Creates a raster dataset given a WMS/WCS or Image Service name object, connection properties and other properties like pixel size etc.
 void release()
          Release a RasterServiceHelper.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterServiceHelper

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

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

RasterServiceHelper

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

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

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 RasterServiceHelper.

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

open

public IRasterDataset open(IName pName)
                    throws java.io.IOException,
                           AutomationException
Creates a raster dataset given a WCS or Image Service name object.

Specified by:
open in interface IRasterServiceHelper
Parameters:
pName - A reference to a com.esri.arcgis.system.IName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFromFile

public IRasterDataset openFromFile(java.lang.String urlString)
                            throws java.io.IOException,
                                   AutomationException
Creates a raster dataset given an Image Service Reference file.

Specified by:
openFromFile in interface IRasterServiceHelper
Parameters:
urlString - The urlString (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openWMSConnection

public IRasterDataset openWMSConnection(IName pName,
                                        IPropertySet pConnectionProperties,
                                        IPropertySet pWMSParameters)
                                 throws java.io.IOException,
                                        AutomationException
Creates a raster dataset given a WMS/WCS or Image Service name object, connection properties and other properties like pixel size etc.

Specified by:
openWMSConnection in interface IRasterServiceHelper2
Parameters:
pName - A reference to a com.esri.arcgis.system.IName (in)
pConnectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
pWMSParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFromURL

public IRasterDataset openFromURL(java.lang.String uRL,
                                  java.lang.String rasterTypeName,
                                  IPropertySet pWMSParameters)
                           throws java.io.IOException,
                                  AutomationException
Opens the image service referenced by the URL as a raster dataset.

Specified by:
openFromURL in interface IRasterServiceHelper2
Parameters:
uRL - The uRL (in)
rasterTypeName - The rasterTypeName (in)
pWMSParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerPropertiesFromURL

public IPropertySet getLayerPropertiesFromURL(java.lang.String uRL)
                                       throws java.io.IOException,
                                              AutomationException
Gets the WMS layer names from the URL.

Specified by:
getLayerPropertiesFromURL in interface IRasterServiceHelper2
Parameters:
uRL - The uRL (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.