|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.system.XMLSerializer
public class XMLSerializer
COM Class 'XMLSerializer'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'
Description 'An XML serializer and deserializer of objects.' 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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IXMLSerializer |
---|
IID, IIDdea199d0_371c_4955_844c_b67705e1edb2, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
XMLSerializer()
Constructs a XMLSerializer using ArcGIS Engine. |
|
XMLSerializer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. XMLSerializer theXMLSerializer = (XMLSerializer) obj; |
Method Summary | |
---|---|
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. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
java.lang.Object |
loadFromString(java.lang.String xML,
IPropertySet environment,
IXMLFlags flags)
Loads an object from an XML string. |
java.lang.Object |
readObject(IXMLReader pReader,
IPropertySet environment,
IXMLFlags flags)
Reads an object from XML. |
java.lang.Object |
readObjectByType(IXMLReader pReader,
IPropertySet environment,
IXMLFlags flags,
java.lang.String typeNamespace,
java.lang.String typeName)
Reads an object from XML given an XML type. |
void |
release()
Release a XMLSerializer. |
java.lang.String |
saveToString(java.lang.Object obj,
IPropertySet environment,
IXMLFlags flags)
Saves an object to an XML string. |
void |
writeObject(IXMLWriter pWriter,
IPropertySet environment,
IXMLFlags flags,
java.lang.String elementName,
java.lang.String elementNamespaceURI,
java.lang.Object obj)
Writes an object as XML. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLSerializer() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic XMLSerializer(java.lang.Object obj) throws java.io.IOException
XMLSerializer theXMLSerializer = (XMLSerializer) obj;
obj
to XMLSerializer
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public 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 void writeObject(IXMLWriter pWriter, IPropertySet environment, IXMLFlags flags, java.lang.String elementName, java.lang.String elementNamespaceURI, java.lang.Object obj) throws java.io.IOException, AutomationException
writeObject
in interface IXMLSerializer
pWriter
- A reference to a com.esri.arcgis.system.IXMLWriter (in)environment
- A reference to a com.esri.arcgis.system.IPropertySet (in)flags
- A reference to a com.esri.arcgis.system.IXMLFlags (in)elementName
- The elementName (in)elementNamespaceURI
- The elementNamespaceURI (in)obj
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object readObject(IXMLReader pReader, IPropertySet environment, IXMLFlags flags) throws java.io.IOException, AutomationException
readObject
in interface IXMLSerializer
pReader
- A reference to a com.esri.arcgis.system.IXMLReader (in)environment
- A reference to a com.esri.arcgis.system.IPropertySet (in)flags
- A reference to a com.esri.arcgis.system.IXMLFlags (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object loadFromString(java.lang.String xML, IPropertySet environment, IXMLFlags flags) throws java.io.IOException, AutomationException
loadFromString
in interface IXMLSerializer
xML
- The xML (in)environment
- A reference to a com.esri.arcgis.system.IPropertySet (in)flags
- A reference to a com.esri.arcgis.system.IXMLFlags (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String saveToString(java.lang.Object obj, IPropertySet environment, IXMLFlags flags) throws java.io.IOException, AutomationException
saveToString
in interface IXMLSerializer
obj
- A reference to another Object (IUnknown) (in)environment
- A reference to a com.esri.arcgis.system.IPropertySet (in)flags
- A reference to a com.esri.arcgis.system.IXMLFlags (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object readObjectByType(IXMLReader pReader, IPropertySet environment, IXMLFlags flags, java.lang.String typeNamespace, java.lang.String typeName) throws java.io.IOException, AutomationException
readObjectByType
in interface IXMLSerializer
pReader
- A reference to a com.esri.arcgis.system.IXMLReader (in)environment
- A reference to a com.esri.arcgis.system.IPropertySet (in)flags
- A reference to a com.esri.arcgis.system.IXMLFlags (in)typeNamespace
- The typeNamespace (in)typeName
- The typeName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 |