com.esri.arcgis.system
Class IXMLSerializeDataProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.IXMLSerializeDataProxy
All Implemented Interfaces:
IXMLSerializeData, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IXMLSerializeData2Proxy

public class IXMLSerializeDataProxy
extends com.esri.arcgis.interop.Dispatch
implements IXMLSerializeData, java.io.Serializable

Internal use class Proxy for COM Interface 'IXMLSerializeData'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to members that serialize and deserialize data from 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerializeData
IID, IID5bb4a18d_43bc_41c5_987a_2206fd15488f
 
Constructor Summary
  IXMLSerializeDataProxy()
          For internal use only
  IXMLSerializeDataProxy(java.lang.Object obj)
           
protected IXMLSerializeDataProxy(java.lang.Object obj, java.lang.String iid)
           
  IXMLSerializeDataProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IXMLSerializeDataProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addBinary(java.lang.String name, byte[] value)
          Adds element value as an array of bytes.
 void addBoolean(java.lang.String name, boolean value)
          Adds element value as a boolean.
 void addByte(java.lang.String name, byte value)
          Adds element value as a byte.
 void addDate(java.lang.String name, java.util.Date value)
          Adds element value as a date.
 void addDouble(java.lang.String name, double value)
          Adds element value as a double.
 void addFloat(java.lang.String name, float value)
          Adds element value as a float.
 void addInteger(java.lang.String name, int value)
          Adds element value as an integer.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void addObject(java.lang.String name, java.lang.Object value)
          Adds element value as an object.
 void addShort(java.lang.String name, short value)
          Adds element value as a short.
 void addString(java.lang.String name, java.lang.String value)
          Adds element value as a string.
 void addVariant(java.lang.String name, java.lang.Object value)
          Adds element value as a variant.
 int find(java.lang.String name)
          Finds an XML element by name.
 byte[] getBinary(int index)
          Obtains element value as an array of bytes.
 boolean getBoolean(int index)
          Obtains element value as a boolean.
 byte getByte(int index)
          Obtains element value as a byte.
 int getCount()
          Number of XML elements.
 java.util.Date getDate(int index)
          Obtains element value as a date.
 double getDouble(int index)
          Obtains element value as a double.
 boolean getFlag(java.lang.String name)
          Obtains the value for a serialization flag.
 float getFloat(int index)
          Obtains element value as a float.
 int getInteger(int index)
          Obtains element value as an integer.
 java.lang.Object getObject(int index, java.lang.String typeNamespace, java.lang.String typeName)
          Obtains element value as an object instance.
 IPropertySet getProperties()
          Properties for serialization and deserialization.
 short getShort(int index)
          Obtains element value as a short.
 java.lang.String getString(int index)
          Obtains element value as a string.
 java.lang.String getTypeName()
          XML type of the object.
 java.lang.String getTypeNamespaceURI()
          XML type namespace of the object.
 java.lang.Object getVariant(int index)
          Obtains element value as a variant.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setFlag(java.lang.String name, boolean flagValue)
          Writes the value for a serialization flag.
 void setPropertiesByRef(IPropertySet props)
          Properties for serialization and deserialization.
 void setTypeName(java.lang.String name)
          XML type of the object.
 void setTypeNamespaceURI(java.lang.String ns)
          XML type namespace of the object.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IXMLSerializeDataProxy

public IXMLSerializeDataProxy(java.lang.String CLSID,
                              java.lang.String host,
                              com.esri.arcgis.interop.AuthInfo authInfo)
                       throws java.net.UnknownHostException,
                              java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IXMLSerializeDataProxy

public IXMLSerializeDataProxy()
For internal use only


IXMLSerializeDataProxy

public IXMLSerializeDataProxy(java.lang.Object obj)
                       throws java.io.IOException
Throws:
java.io.IOException

IXMLSerializeDataProxy

protected IXMLSerializeDataProxy(java.lang.Object obj,
                                 java.lang.String iid)
                          throws java.io.IOException
Throws:
java.io.IOException

IXMLSerializeDataProxy

protected IXMLSerializeDataProxy(java.lang.String CLSID,
                                 java.lang.String iid,
                                 java.lang.String host,
                                 com.esri.arcgis.interop.AuthInfo authInfo)
                          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getTypeName

public java.lang.String getTypeName()
                             throws java.io.IOException,
                                    AutomationException
XML type of the object.

Specified by:
getTypeName in interface IXMLSerializeData
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTypeNamespaceURI

public java.lang.String getTypeNamespaceURI()
                                     throws java.io.IOException,
                                            AutomationException
XML type namespace of the object.

Specified by:
getTypeNamespaceURI in interface IXMLSerializeData
Returns:
The ns
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTypeName

public void setTypeName(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
XML type of the object.

Specified by:
setTypeName in interface IXMLSerializeData
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTypeNamespaceURI

public void setTypeNamespaceURI(java.lang.String ns)
                         throws java.io.IOException,
                                AutomationException
XML type namespace of the object.

Specified by:
setTypeNamespaceURI in interface IXMLSerializeData
Parameters:
ns - The ns (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProperties

public IPropertySet getProperties()
                           throws java.io.IOException,
                                  AutomationException
Properties for serialization and deserialization.

Specified by:
getProperties in interface IXMLSerializeData
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPropertiesByRef

public void setPropertiesByRef(IPropertySet props)
                        throws java.io.IOException,
                               AutomationException
Properties for serialization and deserialization.

Specified by:
setPropertiesByRef in interface IXMLSerializeData
Parameters:
props - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public int find(java.lang.String name)
         throws java.io.IOException,
                AutomationException
Finds an XML element by name.

Specified by:
find in interface IXMLSerializeData
Parameters:
name - The name (in)
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Number of XML elements.

Specified by:
getCount in interface IXMLSerializeData
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getString

public java.lang.String getString(int index)
                           throws java.io.IOException,
                                  AutomationException
Obtains element value as a string.

Specified by:
getString in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBoolean

public boolean getBoolean(int index)
                   throws java.io.IOException,
                          AutomationException
Obtains element value as a boolean.

Specified by:
getBoolean in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getByte

public byte getByte(int index)
             throws java.io.IOException,
                    AutomationException
Obtains element value as a byte.

Specified by:
getByte in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShort

public short getShort(int index)
               throws java.io.IOException,
                      AutomationException
Obtains element value as a short.

Specified by:
getShort in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInteger

public int getInteger(int index)
               throws java.io.IOException,
                      AutomationException
Obtains element value as an integer.

Specified by:
getInteger in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFloat

public float getFloat(int index)
               throws java.io.IOException,
                      AutomationException
Obtains element value as a float.

Specified by:
getFloat in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDouble

public double getDouble(int index)
                 throws java.io.IOException,
                        AutomationException
Obtains element value as a double.

Specified by:
getDouble in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDate

public java.util.Date getDate(int index)
                       throws java.io.IOException,
                              AutomationException
Obtains element value as a date.

Specified by:
getDate in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObject

public java.lang.Object getObject(int index,
                                  java.lang.String typeNamespace,
                                  java.lang.String typeName)
                           throws java.io.IOException,
                                  AutomationException
Obtains element value as an object instance.

Specified by:
getObject in interface IXMLSerializeData
Parameters:
index - The index (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.

getBinary

public byte[] getBinary(int index)
                 throws java.io.IOException,
                        AutomationException
Obtains element value as an array of bytes.

Specified by:
getBinary in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVariant

public java.lang.Object getVariant(int index)
                            throws java.io.IOException,
                                   AutomationException
Obtains element value as a variant.

Specified by:
getVariant in interface IXMLSerializeData
Parameters:
index - The index (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addString

public void addString(java.lang.String name,
                      java.lang.String value)
               throws java.io.IOException,
                      AutomationException
Adds element value as a string.

Specified by:
addString in interface IXMLSerializeData
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addBoolean

public void addBoolean(java.lang.String name,
                       boolean value)
                throws java.io.IOException,
                       AutomationException
Adds element value as a boolean.

Specified by:
addBoolean in interface IXMLSerializeData
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addByte

public void addByte(java.lang.String name,
                    byte value)
             throws java.io.IOException,
                    AutomationException
Adds element value as a byte.

Specified by:
addByte in interface IXMLSerializeData
Parameters:
name - The name (in)
value - An unsigned byte (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addShort

public void addShort(java.lang.String name,
                     short value)
              throws java.io.IOException,
                     AutomationException
Adds element value as a short.

Specified by:
addShort in interface IXMLSerializeData
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addInteger

public void addInteger(java.lang.String name,
                       int value)
                throws java.io.IOException,
                       AutomationException
Adds element value as an integer.

Specified by:
addInteger in interface IXMLSerializeData
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFloat

public void addFloat(java.lang.String name,
                     float value)
              throws java.io.IOException,
                     AutomationException
Adds element value as a float.

Specified by:
addFloat in interface IXMLSerializeData
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDouble

public void addDouble(java.lang.String name,
                      double value)
               throws java.io.IOException,
                      AutomationException
Adds element value as a double.

Specified by:
addDouble in interface IXMLSerializeData
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDate

public void addDate(java.lang.String name,
                    java.util.Date value)
             throws java.io.IOException,
                    AutomationException
Adds element value as a date.

Specified by:
addDate in interface IXMLSerializeData
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addObject

public void addObject(java.lang.String name,
                      java.lang.Object value)
               throws java.io.IOException,
                      AutomationException
Adds element value as an object.

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

addBinary

public void addBinary(java.lang.String name,
                      byte[] value)
               throws java.io.IOException,
                      AutomationException
Adds element value as an array of bytes.

Specified by:
addBinary in interface IXMLSerializeData
Parameters:
name - The name (in)
value - An unsigned byte (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addVariant

public void addVariant(java.lang.String name,
                       java.lang.Object value)
                throws java.io.IOException,
                       AutomationException
Adds element value as a variant.

Specified by:
addVariant in interface IXMLSerializeData
Parameters:
name - The name (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFlag

public void setFlag(java.lang.String name,
                    boolean flagValue)
             throws java.io.IOException,
                    AutomationException
Writes the value for a serialization flag.

Specified by:
setFlag in interface IXMLSerializeData
Parameters:
name - The name (in)
flagValue - The flagValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFlag

public boolean getFlag(java.lang.String name)
                throws java.io.IOException,
                       AutomationException
Obtains the value for a serialization flag.

Specified by:
getFlag in interface IXMLSerializeData
Parameters:
name - The name (in)
Returns:
The flagValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.