com.esri.arcgis.globecore
Class GlobeServerIdentifyResult

java.lang.Object
  extended bycom.esri.arcgis.globecore.GlobeServerIdentifyResult
All Implemented Interfaces:
IGlobeServerIdentifyResult, IPersist, IPersistStream, IXMLSerialize, IXMLVersionSupport, java.io.Serializable

public class GlobeServerIdentifyResult
extends java.lang.Object
implements IGlobeServerIdentifyResult, IXMLSerialize, IPersistStream, IPersist, IXMLVersionSupport

The Globe Server Identify Result coclass provides information about an 'identify result'.

Product Availability

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

Description

GlobeServerIdentifyResult Coclass has an important interface, IGlobeServerIdentifyResult, with properties to returns identify results of a GlobeServer layer. The properties, Name and ObjectID return a results from the Identified layer, where as Shape and Properties return the Geometry of the identified object and a PropertySet.

See Also:
Serialized Form

Constructor Summary
GlobeServerIdentifyResult()
          Constructs a GlobeServerIdentifyResult using ArcGIS Engine.
GlobeServerIdentifyResult(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IGlobeServerIdentifyResult getAsIGlobeServerIdentifyResult()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IPersist getAsIPersist()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IPersistStream getAsIPersistStream()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IXMLSerialize getAsIXMLSerialize()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IXMLVersionSupport getAsIXMLVersionSupport()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 void getClassID(GUID[] pClassID)
          Supported Platforms
static java.lang.String getClsid()
           
 java.lang.String getMinNamespaceSupported()
          The minimum namespace the class can serialize to (eg the 90 namespace).
 java.lang.String getName()
          The name of the identified feature.
 int getObjectID()
          The ID of the identified feature.
 IPropertySet getProperties()
          A set of name-value pairs for the identified features's field names and values.
 IGeometry getShape()
          The geometry of the identified feature.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          Supported Platforms
 int hashCode()
          the hashcode for this object
 void isDirty()
          Supported Platforms
 void load(IStream pstm)
          Supported Platforms
 void save(IStream pstm, int fClearDirty)
          Supported Platforms
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobeServerIdentifyResult

public GlobeServerIdentifyResult()
                          throws java.io.IOException,
                                 java.net.UnknownHostException
Constructs a GlobeServerIdentifyResult using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GlobeServerIdentifyResult

public GlobeServerIdentifyResult(java.lang.Object obj)
                          throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a GlobeServerIdentifyResult using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GlobeServerIdentifyResult.
GlobeServerIdentifyResult theGlobeServerIdentifyResult = (GlobeServerIdentifyResult) obj;

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()

getAsIGlobeServerIdentifyResult

public IGlobeServerIdentifyResult getAsIGlobeServerIdentifyResult()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIXMLSerialize

public IXMLSerialize getAsIXMLSerialize()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIPersistStream

public IPersistStream getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIPersist

public IPersist getAsIPersist()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIXMLVersionSupport

public IXMLVersionSupport getAsIXMLVersionSupport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

public boolean equals(java.lang.Object o)
Compare this object with another


hashCode

public int hashCode()
the hashcode for this object


getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IGlobeServerIdentifyResult
The name of the identified feature.

Specified by:
getName in interface IGlobeServerIdentifyResult
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectID

public int getObjectID()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IGlobeServerIdentifyResult
The ID of the identified feature.

Specified by:
getObjectID in interface IGlobeServerIdentifyResult
Returns:
The oid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShape

public IGeometry getShape()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IGlobeServerIdentifyResult
The geometry of the identified feature.

Specified by:
getShape in interface IGlobeServerIdentifyResult
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProperties

public IPropertySet getProperties()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: IGlobeServerIdentifyResult
A set of name-value pairs for the identified features's field names and values.

Specified by:
getProperties in interface IGlobeServerIdentifyResult
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IXMLSerialize
Serializes an object to XML.

Supported Platforms

Windows, Solaris, Linux

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IXMLSerialize
Deserializes an object from XML.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IPersist

Supported Platforms

Windows, Solaris, Linux

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getMinNamespaceSupported

public java.lang.String getMinNamespaceSupported()
                                          throws java.io.IOException,
                                                 AutomationException
Description copied from interface: IXMLVersionSupport
The minimum namespace the class can serialize to (eg the 90 namespace).

Specified by:
getMinNamespaceSupported in interface IXMLVersionSupport
Returns:
The namespaceURI
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.