com.esri.arcgis.arcweb
Class EnumArcWebDataSourceInfo

java.lang.Object
  extended by com.esri.arcgis.arcweb.EnumArcWebDataSourceInfo
All Implemented Interfaces:
IEnumArcWebDataSourceInfo, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class EnumArcWebDataSourceInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumArcWebDataSourceInfo

An enumerator of the ArcWebDataSourceInfo CoClass.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumArcWebDataSourceInfo()
          Constructs a EnumArcWebDataSourceInfo using ArcGIS Engine.
EnumArcWebDataSourceInfo(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumArcWebDataSourceInfo theEnumArcWebDataSourceInfo = (EnumArcWebDataSourceInfo) obj;
 
Method Summary
 void add(IArcWebDataSourceInfo dataSourceInfo)
          Adds an ArcWebDataSourceInfo to the enumerator.
 boolean equals(Object o)
          Compare this object with another
 IArcWebDataSourceInfo find(String dataSourceName)
          Finds an ArcWebDataSourceInfo given the data source name.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 IArcWebDataSourceInfo next()
          Retrieves the next IArcWebDataSourceInfo in the enumeration sequence.
 void reset()
          Resets the enumeration sequence to the beginning.
 
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

EnumArcWebDataSourceInfo

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

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

EnumArcWebDataSourceInfo

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

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

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

add

public void add(IArcWebDataSourceInfo dataSourceInfo)
         throws IOException,
                AutomationException
Adds an ArcWebDataSourceInfo to the enumerator.

Product Availability

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

Specified by:
add in interface IEnumArcWebDataSourceInfo
Parameters:
dataSourceInfo - A reference to a com.esri.arcgis.arcweb.IArcWebDataSourceInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public IArcWebDataSourceInfo find(String dataSourceName)
                           throws IOException,
                                  AutomationException
Finds an ArcWebDataSourceInfo given the data source name.

Product Availability

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

Specified by:
find in interface IEnumArcWebDataSourceInfo
Parameters:
dataSourceName - The dataSourceName (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IArcWebDataSourceInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumeration sequence to the beginning.

Product Availability

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

Specified by:
reset in interface IEnumArcWebDataSourceInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public IArcWebDataSourceInfo next()
                           throws IOException,
                                  AutomationException
Retrieves the next IArcWebDataSourceInfo in the enumeration sequence.

Product Availability

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

Specified by:
next in interface IEnumArcWebDataSourceInfo
Returns:
A reference to a com.esri.arcgis.arcweb.IArcWebDataSourceInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.