com.esri.arcgis.system
Interface IXMLSerializer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IXMLSerializerProxy, XMLSerializer

public interface IXMLSerializer
extends java.io.Serializable

COM Interface 'IXMLSerializer'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to members that control the XML serialization and deserialization 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
static java.lang.String IID
          Deprecated. Internal use only
static int IIDdea199d0_371c_4955_844c_b67705e1edb2
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 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.
 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.
 

Field Detail

IIDdea199d0_371c_4955_844c_b67705e1edb2

static final int IIDdea199d0_371c_4955_844c_b67705e1edb2
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

writeObject

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
Writes an object as XML.

Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readObject

java.lang.Object readObject(IXMLReader pReader,
                            IPropertySet environment,
                            IXMLFlags flags)
                            throws java.io.IOException,
                                   AutomationException
Reads an object from XML.

Parameters:
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)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromString

java.lang.Object loadFromString(java.lang.String xML,
                                IPropertySet environment,
                                IXMLFlags flags)
                                throws java.io.IOException,
                                       AutomationException
Loads an object from an XML string.

Parameters:
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)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveToString

java.lang.String saveToString(java.lang.Object obj,
                              IPropertySet environment,
                              IXMLFlags flags)
                              throws java.io.IOException,
                                     AutomationException
Saves an object to an XML string.

Parameters:
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)
Returns:
The xML
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readObjectByType

java.lang.Object readObjectByType(IXMLReader pReader,
                                  IPropertySet environment,
                                  IXMLFlags flags,
                                  java.lang.String typeNamespace,
                                  java.lang.String typeName)
                                  throws java.io.IOException,
                                         AutomationException
Reads an object from XML given an XML type.

Parameters:
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)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.