com.esri.arcgis.version
Class IEnumVersionsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.version.IEnumVersionsProxy
All Implemented Interfaces:
IEnumVersions, Externalizable, Serializable

public class IEnumVersionsProxy
extends com.esri.arcgis.interop.Dispatch
implements IEnumVersions, Serializable

IEnumVersions Interface

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IEnumVersionsProxy()
           
  IEnumVersionsProxy(Object obj)
           
protected IEnumVersionsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void next(int[] pCode, String[] pVer, String[] path)
          Returns the next version in the sequence of installed versions.
 void removeListener(String iidStr, Object theListener)
           
 void reset()
          Resets the enumerator to the beggining of the sequence.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IEnumVersionsProxy

public IEnumVersionsProxy()

IEnumVersionsProxy

public IEnumVersionsProxy(Object obj)
                   throws IOException
Throws:
IOException

IEnumVersionsProxy

protected IEnumVersionsProxy(Object obj,
                             String iid)
                      throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumerator to the beggining of the sequence.

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

next

public void next(int[] pCode,
                 String[] pVer,
                 String[] path)
          throws IOException,
                 AutomationException
Returns the next version in the sequence of installed versions.

Specified by:
next in interface IEnumVersions
Parameters:
pCode - A com.esri.arcgis.version.esriProductCode constant (out: use single element array)
pVer - The pVer (out: use single element array)
path - The path (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.