|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.gisclient.WMSConnectionName
public class WMSConnectionName
The WMS Connection name.
WMSConnectionName provides all the information that is required to connect to a given WMS service. To connect to a WMS service you need to provide a WMS connection URL. The connection URL should be provided by the WMS service provider.
Constructor Summary | |
---|---|
WMSConnectionName()
Constructs a WMSConnectionName using ArcGIS Engine. |
|
WMSConnectionName(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. WMSConnectionName theWMSConnectionName = (WMSConnectionName) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IPropertySet |
getConnectionProperties()
Connection properties that will be used to connect to the WMS server. |
String |
getNameString()
The name string of the object. |
int |
hashCode()
the hashcode for this object |
Object |
open()
Opens the object referred to by this name. |
Object |
openEx(ITrackCancel pTrackCancel)
Opens the WMS Connection. |
void |
setConnectionProperties(IPropertySet connectionProperties)
Connection properties that will be used to connect to the WMS server. |
void |
setNameString(String nameString)
The name string of the object. |
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 |
---|
public WMSConnectionName() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic WMSConnectionName(Object obj) throws IOException
WMSConnectionName theWMSConnectionName = (WMSConnectionName) obj;
obj
to WMSConnectionName
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setConnectionProperties(IPropertySet connectionProperties) throws IOException, AutomationException
setConnectionProperties
in interface IWMSConnectionName
connectionProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getConnectionProperties() throws IOException, AutomationException
ConnectionProperties is named value pairs relating to WMS service connection. This is where you would set the WMS server URL. Relevant names include “URL”, which is the minimum required, and three optional names: "VERSION', which specifies the WMS version, and two names, “USER” and “PASSWORD” that can be used when connecting to a WMS service over HTTPS.
getConnectionProperties
in interface IWMSConnectionName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object openEx(ITrackCancel pTrackCancel) throws IOException, AutomationException
OpenEx returns a WMSConnection.
openEx
in interface IWMSConnectionName
pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNameString(String nameString) throws IOException, AutomationException
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.
setNameString
in interface IName
nameString
- The nameString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNameString() throws IOException, AutomationException
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.
getNameString
in interface IName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object open() throws IOException, AutomationException
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.
IName pName = pFeatureClassName;
pFeatureClass = new IFeatureClassProxy(pName.open());
open
in interface IName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |