|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.gisclient.WMSConnectionFactory
public class WMSConnectionFactory
A factory object for WMS Connections.
WMSConnectionFactory is a utility object that takes connection properties and creates a connection to a WMS service without having to use WMSConnectionName. Using WMSConnectionFactory to open the connections ensures that a connection to a given service within a session does not duplicate connection objects for the same service.
| Constructor Summary | |
|---|---|
WMSConnectionFactory()
Constructs a WMSConnectionFactory using ArcGIS Engine. |
|
WMSConnectionFactory(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. WMSConnectionFactory theWMSConnectionFactory = (WMSConnectionFactory) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
IWMSConnection |
open(IPropertySet pConnectionProperties,
int hWnd,
ITrackCancel pTrackCancel)
Opens a WMS connection for the given properties. |
| 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 WMSConnectionFactory()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public WMSConnectionFactory(Object obj)
throws IOException
WMSConnectionFactory theWMSConnectionFactory = (WMSConnectionFactory) obj;
obj to WMSConnectionFactory.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IWMSConnection open(IPropertySet pConnectionProperties,
int hWnd,
ITrackCancel pTrackCancel)
throws IOException,
AutomationException
Open returns a WMSConnection.
open in interface IWMSConnectionFactorypConnectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)hWnd - The hWnd (A COM typedef) (in)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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||