com.esri.arcgis.arcweb
Class EnumArcWebSite

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

public class EnumArcWebSite
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumArcWebSite

An enumerator of the ArcWeb sites.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumArcWebSite()
          Constructs a EnumArcWebSite using ArcGIS Engine.
EnumArcWebSite(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumArcWebSite theEnumArcWebSite = (EnumArcWebSite) obj;
 
Method Summary
 void add(IArcWebSite site)
          Add an ArcWebSite to the enumerator.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 IArcWebSite next()
          Retrieves the next IArcWebSite 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

EnumArcWebSite

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

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

EnumArcWebSite

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

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

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(IArcWebSite site)
         throws IOException,
                AutomationException
Add an ArcWebSite to the enumerator.

Product Availability

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

Specified by:
add in interface IEnumArcWebSite
Parameters:
site - A reference to a com.esri.arcgis.arcweb.IArcWebSite (in)
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 IEnumArcWebSite
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

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

Product Availability

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

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