com.esri.arcgis.system
Class XMLSerializerAlt

java.lang.Object
  extended by com.esri.arcgis.system.XMLSerializerAlt
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IXMLSerializerAlt, Serializable

public class XMLSerializerAlt
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IXMLSerializerAlt, ISupportErrorInfo

XML serializer of objects.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
XMLSerializerAlt()
          Constructs a XMLSerializerAlt using ArcGIS Engine.
XMLSerializerAlt(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
XMLSerializerAlt theXMLSerializerAlt = (XMLSerializerAlt) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 Object loadFromString(String xML, String typeName, String typeNamespaceURI)
          Loads an object from an XML string.
 
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

XMLSerializerAlt

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

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

XMLSerializerAlt

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

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

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

loadFromString

public Object loadFromString(String xML,
                             String typeName,
                             String typeNamespaceURI)
                      throws IOException,
                             AutomationException
Loads an object from an XML string.

Product Availability

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

Specified by:
loadFromString in interface IXMLSerializerAlt
Parameters:
xML - The xML (in)
typeName - The typeName (in)
typeNamespaceURI - The typeNamespaceURI (in)
Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.