|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.XMLPersistedObject
public class XMLPersistedObject
CoClass to serialize objects to XML.
Constructor Summary | |
---|---|
XMLPersistedObject()
Constructs a XMLPersistedObject using ArcGIS Engine. |
|
XMLPersistedObject(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(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
Object |
getObject()
The object to be serialized to or deserialized from XML. |
int |
hashCode()
the hashcode for this object |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setObjectByRef(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public XMLPersistedObject() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic XMLPersistedObject(Object obj) throws IOException
XMLPersistedObject theXMLPersistedObject = (XMLPersistedObject) obj;
obj
to XMLPersistedObject
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object getObject() throws IOException, AutomationException
getObject
in interface IXMLPersistedObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObjectByRef(Object ppObject) throws IOException, AutomationException
setObjectByRef
in interface IXMLPersistedObject
ppObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |