com.esri.arcgis.gisclient
Class WMSConnectionName

java.lang.Object
  extended by com.esri.arcgis.gisclient.WMSConnectionName
All Implemented Interfaces:
IWMSConnectionName, com.esri.arcgis.interop.RemoteObjRef, IName, java.io.Serializable

public class WMSConnectionName
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IWMSConnectionName, IName

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

Description 'The WMS Connection name.' 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.IWMSConnectionName
IID, IID07c8fd52_5d97_4b1f_a6bf_4973c9bb4117, xxDummy
 
Constructor Summary
WMSConnectionName()
          Constructs a WMSConnectionName using ArcGIS Engine.
WMSConnectionName(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WMSConnectionName theWMSConnectionName = (WMSConnectionName) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IPropertySet getConnectionProperties()
          Connection properties that will be used to connect to the WMS server.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getNameString()
          The name string of the object.
 int hashCode()
          the hashcode for this object
 java.lang.Object open()
          Opens the object referred to by this name.
 java.lang.Object openEx(ITrackCancel pTrackCancel)
          Opens the WMS Connection.
 void release()
          Release a WMSConnectionName.
 void setConnectionProperties(IPropertySet connectionProperties)
          Connection properties that will be used to connect to the WMS server.
 void setNameString(java.lang.String nameString)
          The name string of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSConnectionName

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

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

WMSConnectionName

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

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

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

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

setConnectionProperties

public void setConnectionProperties(IPropertySet connectionProperties)
                             throws java.io.IOException,
                                    AutomationException
Connection properties that will be used to connect to the WMS server.

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

getConnectionProperties

public IPropertySet getConnectionProperties()
                                     throws java.io.IOException,
                                            AutomationException
Connection properties that will be used to connect to the WMS server.

Specified by:
getConnectionProperties in interface IWMSConnectionName
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.

openEx

public java.lang.Object openEx(ITrackCancel pTrackCancel)
                        throws java.io.IOException,
                               AutomationException
Opens the WMS Connection.

Specified by:
openEx in interface IWMSConnectionName
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNameString

public void setNameString(java.lang.String nameString)
                   throws java.io.IOException,
                          AutomationException
The name string of the object.

Remarks

The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getNameString

public java.lang.String getNameString()
                               throws java.io.IOException,
                                      AutomationException
The name string of the object.

Remarks

The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

open

public java.lang.Object open()
                      throws java.io.IOException,
                             AutomationException
Opens the object referred to by this name.

Remarks

The Open method lets you instantiate the actual object given the name object.

Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.

Example:

IName   pName = pFeatureClassName; 
pFeatureClass = new IFeatureClassProxy(pName.open());

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
open in interface IName
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.