com.esri.arcgis.arcweb
Class ArcWebKeyLookup

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

public class ArcWebKeyLookup
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebKeyLookup

A coclass used to search EnumArcWebKeyValue.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebKeyLookup()
          Constructs a ArcWebKeyLookup using ArcGIS Engine.
ArcWebKeyLookup(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebKeyLookup theArcWebKeyLookup = (ArcWebKeyLookup) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 String lookupValue(String key)
          Gets the value that corresponds to the key.
 void populate(IEnumArcWebKeyValue keyValue)
          Sets the EnumArcWebKeyValue that will be searched.
 
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

ArcWebKeyLookup

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

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

ArcWebKeyLookup

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

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

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

populate

public void populate(IEnumArcWebKeyValue keyValue)
              throws IOException,
                     AutomationException
Sets the EnumArcWebKeyValue that will be searched.

Product Availability

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

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

lookupValue

public String lookupValue(String key)
                   throws IOException,
                          AutomationException
Gets the value that corresponds to the key.

Product Availability

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

Specified by:
lookupValue in interface IArcWebKeyLookup
Parameters:
key - The key (in)
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.