com.esri.arcgis.arcweb
Class EnumArcWebKeyValue

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

public class EnumArcWebKeyValue
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumArcWebKeyValue

Enum ArcWeb Key Value Pairs.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumArcWebKeyValue()
          Constructs a EnumArcWebKeyValue using ArcGIS Engine.
EnumArcWebKeyValue(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumArcWebKeyValue theEnumArcWebKeyValue = (EnumArcWebKeyValue) obj;
 
Method Summary
 void add(IArcWebKeyValue keyValue)
          Adds a KeyValue pair to the enumerator.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 IArcWebKeyValue next()
          Retrieves the next IArcWebKeyValue 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

EnumArcWebKeyValue

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

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

EnumArcWebKeyValue

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

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

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(IArcWebKeyValue keyValue)
         throws IOException,
                AutomationException
Adds a KeyValue pair to the enumerator.

Product Availability

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

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

next

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

Product Availability

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

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