com.esri.arcgis.arcweb
Class EnumArcWebDirections

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

public class EnumArcWebDirections
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumArcWebDirections

An enumerator of the segments descriptions.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumArcWebDirections(Object obj)
          Construct a EnumArcWebDirections using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 int hashCode()
          the hashcode for this object
 IArcWebDirections next()
          Retrieves the next ArcWebDirections 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

EnumArcWebDirections

public EnumArcWebDirections(Object obj)
                     throws IOException
Construct a EnumArcWebDirections using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EnumArcWebDirections.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
EnumArcWebDirections o = (EnumArcWebDirections)obj; // will not work

EnumArcWebDirections o = new EnumArcWebDirections(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems EnumArcWebDirections theEnumArcWebDirections = (EnumArcWebDirections) obj;
Method Detail

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

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 IEnumArcWebDirections
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

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

Product Availability

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

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