com.esri.arcgis.arcweb
Class EnumArcWebRouteStops

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

public class EnumArcWebRouteStops
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumArcWebRouteStops

An enumerator of ArcWebRouteStops.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
EnumArcWebRouteStops()
          Constructs a EnumArcWebRouteStops using ArcGIS Engine.
EnumArcWebRouteStops(Object obj)
          Construct a EnumArcWebRouteStops using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void add(IArcWebRouteStop routeStop)
          Adds a route stop to the enumerator.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void makeFirst(IArcWebRouteStop routeStop)
          Makes a route stop the first one.
 void makeLast(IArcWebRouteStop routeStop)
          Makes a route stop the first one.
 void moveDown(IArcWebRouteStop routeStop)
          Moves a route stop one position down.
 void moveUp(IArcWebRouteStop routeStop)
          Moves a route stop one position up.
 IArcWebRouteStop next()
          Retrieves the next esriArcWebCountry in the enumeration sequence.
 void remove(IArcWebRouteStop routeStop)
          Removes a route stop from the enumerator.
 void removeAll()
          Removes all route stops from the enumerator.
 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

EnumArcWebRouteStops

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

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

EnumArcWebRouteStops

public EnumArcWebRouteStops(Object obj)
                     throws IOException
Construct a EnumArcWebRouteStops using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EnumArcWebRouteStops.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems EnumArcWebRouteStops theEnumArcWebRouteStops = (EnumArcWebRouteStops) obj;
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

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

next

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

Product Availability

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

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

add

public void add(IArcWebRouteStop routeStop)
         throws IOException,
                AutomationException
Adds a route stop to the enumerator.

Product Availability

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

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

remove

public void remove(IArcWebRouteStop routeStop)
            throws IOException,
                   AutomationException
Removes a route stop from the enumerator.

Product Availability

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

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

removeAll

public void removeAll()
               throws IOException,
                      AutomationException
Removes all route stops from the enumerator.

Product Availability

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

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

moveUp

public void moveUp(IArcWebRouteStop routeStop)
            throws IOException,
                   AutomationException
Moves a route stop one position up.

Product Availability

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

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

moveDown

public void moveDown(IArcWebRouteStop routeStop)
              throws IOException,
                     AutomationException
Moves a route stop one position down.

Product Availability

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

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

makeFirst

public void makeFirst(IArcWebRouteStop routeStop)
               throws IOException,
                      AutomationException
Makes a route stop the first one.

Product Availability

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

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

makeLast

public void makeLast(IArcWebRouteStop routeStop)
              throws IOException,
                     AutomationException
Makes a route stop the first one.

Product Availability

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

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