com.esri.arcgis.gisclient
Class WMTSConnection

java.lang.Object
  extended by com.esri.arcgis.gisclient.WMTSConnection
All Implemented Interfaces:
IWMTSConnection, IWMTSServiceDescription, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class WMTSConnection
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IWMTSConnection, IWMTSServiceDescription, ISupportErrorInfo

The Connection for WMTS.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
WMTSConnection()
          Constructs a WMTSConnection using ArcGIS Engine.
WMTSConnection(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WMTSConnection theWMTSConnection = (WMTSConnection) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getFeatureInfoFormat(int index)
          Supported FeatureInfoFormat at the given index.
 int getFeatureInfoFormatCount()
          Supported FeatureInfoFormat count.
 IName getFullName()
          Complete information required to connect to a WMTS server..
 String getImageFormat(int index)
          Supported GetMap's ImageFormat at the given index.
 int getImageFormatCount()
          Supported GetMap's ImageFormat count.
 IWMTSLayerDescription getLayerDescription(int index)
          WMTS layer information at the given index.
 int getLayerDescriptionCount()
          WMTS layer count.
 String getName()
          Name of the connection.
 String getOperationUrl(String operation)
          Base url for given operation.
 IWMTSTileMatrixSet getTileMatrixSet(int index)
          WMTS Tile Matrix information at the given index.
 int getTileMatrixSetCount()
          WMTS TileMatrix Set count.
 String getWMTSAbstract()
          Abstract of WMTS Service.
 String getWMTSName()
          Name of WMTS Service.
 String getWMTSTitle()
          Title of WMTS Service.
 String getWMTSVersion()
          Version of WMTS Service.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void setFullNameByRef(IName ppName)
          Complete information required to connect to a WMTS server..
 void setName(String name)
          Name of the connection.
 
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

WMTSConnection

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

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

WMTSConnection

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

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

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

getName

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

Product Availability

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

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

setName

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

Product Availability

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

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

getFullName

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

Product Availability

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

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

setFullNameByRef

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

Product Availability

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

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

getWMTSName

public String getWMTSName()
                   throws IOException,
                          AutomationException
Name of WMTS Service.

Product Availability

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

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

getWMTSAbstract

public String getWMTSAbstract()
                       throws IOException,
                              AutomationException
Abstract of WMTS Service.

Product Availability

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

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

getWMTSTitle

public String getWMTSTitle()
                    throws IOException,
                           AutomationException
Title of WMTS Service.

Product Availability

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

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

getWMTSVersion

public String getWMTSVersion()
                      throws IOException,
                             AutomationException
Version of WMTS Service.

Product Availability

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

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

getLayerDescriptionCount

public int getLayerDescriptionCount()
                             throws IOException,
                                    AutomationException
WMTS layer count.

Product Availability

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

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

getLayerDescription

public IWMTSLayerDescription getLayerDescription(int index)
                                          throws IOException,
                                                 AutomationException
WMTS layer information at the given index.

Product Availability

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

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

getTileMatrixSetCount

public int getTileMatrixSetCount()
                          throws IOException,
                                 AutomationException
WMTS TileMatrix Set count.

Product Availability

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

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

getTileMatrixSet

public IWMTSTileMatrixSet getTileMatrixSet(int index)
                                    throws IOException,
                                           AutomationException
WMTS Tile Matrix information at the given index.

Product Availability

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

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

getImageFormatCount

public int getImageFormatCount()
                        throws IOException,
                               AutomationException
Supported GetMap's ImageFormat count.

Product Availability

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

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

getImageFormat

public String getImageFormat(int index)
                      throws IOException,
                             AutomationException
Supported GetMap's ImageFormat at the given index.

Product Availability

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

Specified by:
getImageFormat in interface IWMTSServiceDescription
Parameters:
index - The index (in)
Returns:
The imageFormat
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureInfoFormatCount

public int getFeatureInfoFormatCount()
                              throws IOException,
                                     AutomationException
Supported FeatureInfoFormat count.

Product Availability

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

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

getFeatureInfoFormat

public String getFeatureInfoFormat(int index)
                            throws IOException,
                                   AutomationException
Supported FeatureInfoFormat at the given index.

Product Availability

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

Specified by:
getFeatureInfoFormat in interface IWMTSServiceDescription
Parameters:
index - The index (in)
Returns:
The imageFormat
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOperationUrl

public String getOperationUrl(String operation)
                       throws IOException,
                              AutomationException
Base url for given operation.

Product Availability

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

Specified by:
getOperationUrl in interface IWMTSServiceDescription
Parameters:
operation - The operation (in)
Returns:
The baseURL
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.