public class XMLPersistedObject extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLPersistedObject, IXMLSerialize
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 =
IID, IIDe2015546_27b9_4ac4_bb8b_64b429513d44, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.Object |
getObject()
The object to be serialized to or deserialized from XML.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
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.
|
public XMLPersistedObject() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic XMLPersistedObject(java.lang.Object obj) throws java.io.IOException
XMLPersistedObject theXMLPersistedObject = (XMLPersistedObject) obj;
obj
to XMLPersistedObject
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.Object getObject() throws java.io.IOException, AutomationException
getObject
in interface IXMLPersistedObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setObjectByRef(java.lang.Object ppObject) throws java.io.IOException, AutomationException
setObjectByRef
in interface IXMLPersistedObject
ppObject
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.