com.esri.arcgis.gisclient
Class WCSConnection

java.lang.Object
  extended by com.esri.arcgis.gisclient.WCSConnection
All Implemented Interfaces:
IWCSConnection, IWCSServiceDescription, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class WCSConnection
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IWCSConnection, IWCSServiceDescription, ISupportErrorInfo

COM Class 'WCSConnection'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriGISClient.olb'

Description 'The Connection for WCS.' 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.gisclient.IWCSConnection
IID, IID2bb26ed5_6774_4ff5_8252_1e973ebd5bdc, xxDummy
 
Fields inherited from interface com.esri.arcgis.gisclient.IWCSServiceDescription
IID, IIDe19a5310_486c_4d32_8d44_93696d6804d4, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
WCSConnection()
          Constructs a WCSConnection using ArcGIS Engine.
WCSConnection(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WCSConnection theWCSConnection = (WCSConnection) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void fireWCSException(java.lang.String requestType, java.lang.String requestURL, IWCSServiceExceptionHandler pException)
          Notifies listeners about a valid exception from the WCS Service.
 void fireWCSRequest(java.lang.String requestType, java.lang.String requestURL)
          Notifies listeners about the URL request made to this WCS Service.
 java.lang.String getAbstract()
          Abstract of WCS Service.
 java.lang.String getAccessConstrains()
          Constrains to access to this WCS Service.
 java.lang.String getBaseURL(java.lang.String capability, java.lang.String requestMethod)
          Base url for given capability and request method.
static java.lang.String getClsid()
          getClsid.
 IWCSCoverageDescription getCoverageDescriptionByIndex(int index)
          WCS coverage information at the given index.
 IWCSCoverageDescription getCoverageDescriptionByName(java.lang.String name)
          CoverageDescription by name.
 int getCoverageDescriptionCount()
          WCS coverage count.
 java.lang.String getCoverageRequestUrl(java.lang.String coverageName, IEnvelope pBoundingBox, java.lang.String cRS, java.lang.String responseFormat, int imageWidth, int imageHeight)
          The URL to download the coverage from.
 java.lang.String getExceptionFormat(int index)
          Supported exception at the given index.
 int getExceptionFormatCount()
          Supported exception format count.
 IName getFullName()
          Complete information required to connect to a WCS server..
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getKeyword(int index)
          Available keyword at the given index.
 int getKeywordCount()
          Available keyword count.
 java.lang.String getName()
          Name of the connection.
 java.lang.String getSupportedVersion(int index)
          Supported version at the given index.
 int getSupportedVersionsCount()
          Supported versions count.
 java.lang.String getTitle()
          Title of WCS Service.
 java.lang.String getVersion()
          Default version of WCS Service.
 java.lang.String getWCSName()
          Name of WCS Service.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a WCSConnection.
 void setFullNameByRef(IName ppName)
          Complete information required to connect to a WCS server..
 void setName(java.lang.String name)
          Name of the connection.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WCSConnection

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

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

WCSConnection

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

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

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

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the connection.

Specified by:
getName in interface IWCSConnection
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
Name of the connection.

Specified by:
setName in interface IWCSConnection
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
Complete information required to connect to a WCS server..

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

setFullNameByRef

public void setFullNameByRef(IName ppName)
                      throws java.io.IOException,
                             AutomationException
Complete information required to connect to a WCS server..

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

getWCSName

public java.lang.String getWCSName()
                            throws java.io.IOException,
                                   AutomationException
Name of WCS Service.

Specified by:
getWCSName in interface IWCSServiceDescription
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAbstract

public java.lang.String getAbstract()
                             throws java.io.IOException,
                                    AutomationException
Abstract of WCS Service.

Specified by:
getAbstract in interface IWCSServiceDescription
Returns:
The esri_abstract
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTitle

public java.lang.String getTitle()
                          throws java.io.IOException,
                                 AutomationException
Title of WCS Service.

Specified by:
getTitle in interface IWCSServiceDescription
Returns:
The title
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

public java.lang.String getVersion()
                            throws java.io.IOException,
                                   AutomationException
Default version of WCS Service.

Specified by:
getVersion in interface IWCSServiceDescription
Returns:
The ver
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAccessConstrains

public java.lang.String getAccessConstrains()
                                     throws java.io.IOException,
                                            AutomationException
Constrains to access to this WCS Service.

Specified by:
getAccessConstrains in interface IWCSServiceDescription
Returns:
The constrains
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBaseURL

public java.lang.String getBaseURL(java.lang.String capability,
                                   java.lang.String requestMethod)
                            throws java.io.IOException,
                                   AutomationException
Base url for given capability and request method.

Specified by:
getBaseURL in interface IWCSServiceDescription
Parameters:
capability - The capability (in)
requestMethod - The requestMethod (in)
Returns:
The baseURL
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExceptionFormatCount

public int getExceptionFormatCount()
                            throws java.io.IOException,
                                   AutomationException
Supported exception format count.

Specified by:
getExceptionFormatCount in interface IWCSServiceDescription
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExceptionFormat

public java.lang.String getExceptionFormat(int index)
                                    throws java.io.IOException,
                                           AutomationException
Supported exception at the given index.

Specified by:
getExceptionFormat in interface IWCSServiceDescription
Parameters:
index - The index (in)
Returns:
The exceptionFormat
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSupportedVersionsCount

public int getSupportedVersionsCount()
                              throws java.io.IOException,
                                     AutomationException
Supported versions count.

Specified by:
getSupportedVersionsCount in interface IWCSServiceDescription
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSupportedVersion

public java.lang.String getSupportedVersion(int index)
                                     throws java.io.IOException,
                                            AutomationException
Supported version at the given index.

Specified by:
getSupportedVersion in interface IWCSServiceDescription
Parameters:
index - The index (in)
Returns:
The version
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getKeywordCount

public int getKeywordCount()
                    throws java.io.IOException,
                           AutomationException
Available keyword count.

Specified by:
getKeywordCount in interface IWCSServiceDescription
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getKeyword

public java.lang.String getKeyword(int index)
                            throws java.io.IOException,
                                   AutomationException
Available keyword at the given index.

Specified by:
getKeyword in interface IWCSServiceDescription
Parameters:
index - The index (in)
Returns:
The keyword
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoverageDescriptionCount

public int getCoverageDescriptionCount()
                                throws java.io.IOException,
                                       AutomationException
WCS coverage count.

Specified by:
getCoverageDescriptionCount in interface IWCSServiceDescription
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoverageDescriptionByIndex

public IWCSCoverageDescription getCoverageDescriptionByIndex(int index)
                                                      throws java.io.IOException,
                                                             AutomationException
WCS coverage information at the given index.

Specified by:
getCoverageDescriptionByIndex in interface IWCSServiceDescription
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IWCSCoverageDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoverageDescriptionByName

public IWCSCoverageDescription getCoverageDescriptionByName(java.lang.String name)
                                                     throws java.io.IOException,
                                                            AutomationException
CoverageDescription by name.

Specified by:
getCoverageDescriptionByName in interface IWCSServiceDescription
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IWCSCoverageDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoverageRequestUrl

public java.lang.String getCoverageRequestUrl(java.lang.String coverageName,
                                              IEnvelope pBoundingBox,
                                              java.lang.String cRS,
                                              java.lang.String responseFormat,
                                              int imageWidth,
                                              int imageHeight)
                                       throws java.io.IOException,
                                              AutomationException
The URL to download the coverage from.

Specified by:
getCoverageRequestUrl in interface IWCSServiceDescription
Parameters:
coverageName - The coverageName (in)
pBoundingBox - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
cRS - The cRS (in)
responseFormat - The responseFormat (in)
imageWidth - The imageWidth (in)
imageHeight - The imageHeight (in)
Returns:
The uRL
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fireWCSRequest

public void fireWCSRequest(java.lang.String requestType,
                           java.lang.String requestURL)
                    throws java.io.IOException,
                           AutomationException
Notifies listeners about the URL request made to this WCS Service.

Specified by:
fireWCSRequest in interface IWCSServiceDescription
Parameters:
requestType - The requestType (in)
requestURL - The requestURL (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fireWCSException

public void fireWCSException(java.lang.String requestType,
                             java.lang.String requestURL,
                             IWCSServiceExceptionHandler pException)
                      throws java.io.IOException,
                             AutomationException
Notifies listeners about a valid exception from the WCS Service.

Specified by:
fireWCSException in interface IWCSServiceDescription
Parameters:
requestType - The requestType (in)
requestURL - The requestURL (in)
pException - A reference to a com.esri.arcgis.gisclient.IWCSServiceExceptionHandler (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

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