com.esri.arcgis.system
Class XMLPersistedObject

java.lang.Object
  extended by com.esri.arcgis.system.XMLPersistedObject
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IXMLPersistedObject, IXMLSerialize, java.io.Serializable

public class XMLPersistedObject
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IXMLPersistedObject, IXMLSerialize

COM Class 'XMLPersistedObject'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'CoClass to serialize objects to XML.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IXMLPersistedObject
IID, IIDe2015546_27b9_4ac4_bb8b_64b429513d44, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
 
Constructor Summary
XMLPersistedObject()
          Constructs a XMLPersistedObject using ArcGIS Engine.
XMLPersistedObject(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
XMLPersistedObject theXMLPersistedObject = (XMLPersistedObject) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.Object getObject()
          The object to be serialized to or deserialized from XML.
 int hashCode()
          the hashcode for this object
 void release()
          Release a XMLPersistedObject.
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void setObjectByRef(java.lang.Object ppObject)
          The object to be serialized to or deserialized from XML.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPersistedObject

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

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

XMLPersistedObject

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

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

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()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a XMLPersistedObject.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getObject

public java.lang.Object getObject()
                           throws java.io.IOException,
                                  AutomationException
The object to be serialized to or deserialized from XML.

Specified by:
getObject in interface IXMLPersistedObject
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjectByRef

public void setObjectByRef(java.lang.Object ppObject)
                    throws java.io.IOException,
                           AutomationException
The object to be serialized to or deserialized from XML.

Specified by:
setObjectByRef in interface IXMLPersistedObject
Parameters:
ppObject - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Serializes an object to XML.

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
Deserializes an object from XML.

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.