public class IXMLSerializeDataProxy extends com.esri.arcgis.interop.Dispatch implements IXMLSerializeData, java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
boolean |
noncastable |
static java.lang.Class |
targetClass |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IID5bb4a18d_43bc_41c5_987a_2206fd15488f
Modifier | Constructor and Description |
---|---|
|
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) |
Modifier and Type | Method and Description |
---|---|
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)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
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)
Removes a Java object as a listener to events generated by a COM object.
|
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.
|
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
public static final java.lang.Class targetClass
public boolean noncastable
public IXMLSerializeDataProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IXMLSerializeDataProxy()
public IXMLSerializeDataProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IXMLSerializeDataProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IXMLSerializeDataProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public java.lang.String getTypeName() throws java.io.IOException, AutomationException
getTypeName
in interface IXMLSerializeData
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTypeNamespaceURI() throws java.io.IOException, AutomationException
getTypeNamespaceURI
in interface IXMLSerializeData
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTypeName(java.lang.String name) throws java.io.IOException, AutomationException
setTypeName
in interface IXMLSerializeData
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTypeNamespaceURI(java.lang.String ns) throws java.io.IOException, AutomationException
setTypeNamespaceURI
in interface IXMLSerializeData
ns
- The ns (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPropertySet getProperties() throws java.io.IOException, AutomationException
getProperties
in interface IXMLSerializeData
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPropertiesByRef(IPropertySet props) throws java.io.IOException, AutomationException
setPropertiesByRef
in interface IXMLSerializeData
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int find(java.lang.String name) throws java.io.IOException, AutomationException
find
in interface IXMLSerializeData
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IXMLSerializeData
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getString(int index) throws java.io.IOException, AutomationException
getString
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean getBoolean(int index) throws java.io.IOException, AutomationException
getBoolean
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public byte getByte(int index) throws java.io.IOException, AutomationException
getByte
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getShort(int index) throws java.io.IOException, AutomationException
getShort
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getInteger(int index) throws java.io.IOException, AutomationException
getInteger
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public float getFloat(int index) throws java.io.IOException, AutomationException
getFloat
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getDouble(int index) throws java.io.IOException, AutomationException
getDouble
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.util.Date getDate(int index) throws java.io.IOException, AutomationException
getDate
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getObject(int index, java.lang.String typeNamespace, java.lang.String typeName) throws java.io.IOException, AutomationException
getObject
in interface IXMLSerializeData
index
- The index (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 byte[] getBinary(int index) throws java.io.IOException, AutomationException
getBinary
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getVariant(int index) throws java.io.IOException, AutomationException
getVariant
in interface IXMLSerializeData
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addString(java.lang.String name, java.lang.String value) throws java.io.IOException, AutomationException
addString
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addBoolean(java.lang.String name, boolean value) throws java.io.IOException, AutomationException
addBoolean
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addByte(java.lang.String name, byte value) throws java.io.IOException, AutomationException
addByte
in interface IXMLSerializeData
name
- The name (in)value
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addShort(java.lang.String name, short value) throws java.io.IOException, AutomationException
addShort
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addInteger(java.lang.String name, int value) throws java.io.IOException, AutomationException
addInteger
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addFloat(java.lang.String name, float value) throws java.io.IOException, AutomationException
addFloat
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addDouble(java.lang.String name, double value) throws java.io.IOException, AutomationException
addDouble
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addDate(java.lang.String name, java.util.Date value) throws java.io.IOException, AutomationException
addDate
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addObject(java.lang.String name, java.lang.Object value) throws java.io.IOException, AutomationException
addObject
in interface IXMLSerializeData
name
- The name (in)value
- 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 addBinary(java.lang.String name, byte[] value) throws java.io.IOException, AutomationException
addBinary
in interface IXMLSerializeData
name
- The name (in)value
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addVariant(java.lang.String name, java.lang.Object value) throws java.io.IOException, AutomationException
addVariant
in interface IXMLSerializeData
name
- The name (in)value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFlag(java.lang.String name, boolean flagValue) throws java.io.IOException, AutomationException
setFlag
in interface IXMLSerializeData
name
- The name (in)flagValue
- The flagValue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean getFlag(java.lang.String name) throws java.io.IOException, AutomationException
getFlag
in interface IXMLSerializeData
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.