|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.system.IXMLSerializeDataProxy
public class IXMLSerializeDataProxy
Provides access to members that serialize and deserialize data from XML.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IXMLSerializeDataProxy()
|
|
IXMLSerializeDataProxy(Object obj)
|
protected |
IXMLSerializeDataProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addBinary(String name,
byte[] value)
Adds element value as an array of bytes. |
void |
addBoolean(String name,
boolean value)
Adds element value as a boolean. |
void |
addByte(String name,
byte value)
Adds element value as a byte. |
void |
addDate(String name,
Date value)
Adds element value as a date. |
void |
addDouble(String name,
double value)
Adds element value as a double. |
void |
addFloat(String name,
float value)
Adds element value as a float. |
void |
addInteger(String name,
int value)
Adds element value as an integer. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
addObject(String name,
Object value)
Adds element value as an object. |
void |
addShort(String name,
short value)
Adds element value as a short. |
void |
addString(String name,
String value)
Adds element value as a string. |
void |
addVariant(String name,
Object value)
Adds element value as a variant. |
int |
find(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. |
Date |
getDate(int index)
Obtains element value as a date. |
double |
getDouble(int index)
Obtains element value as a double. |
boolean |
getFlag(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. |
Object |
getObject(int index,
String typeNamespace,
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. |
String |
getString(int index)
Obtains element value as a string. |
String |
getTypeName()
XML type of the object. |
String |
getTypeNamespaceURI()
XML type namespace of the object. |
Object |
getVariant(int index)
Obtains element value as a variant. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setFlag(String name,
boolean flagValue)
Writes the value for a serialization flag. |
void |
setPropertiesByRef(IPropertySet props)
Properties for serialization and deserialization. |
void |
setTypeName(String name)
XML type of the object. |
void |
setTypeNamespaceURI(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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IXMLSerializeDataProxy()
public IXMLSerializeDataProxy(Object obj) throws IOException
IOException
protected IXMLSerializeDataProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public String getTypeName() throws IOException, AutomationException
getTypeName
in interface IXMLSerializeData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTypeNamespaceURI() throws IOException, AutomationException
getTypeNamespaceURI
in interface IXMLSerializeData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTypeName(String name) throws IOException, AutomationException
setTypeName
in interface IXMLSerializeData
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTypeNamespaceURI(String ns) throws IOException, AutomationException
setTypeNamespaceURI
in interface IXMLSerializeData
ns
- The ns (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getProperties() throws IOException, AutomationException
getProperties
in interface IXMLSerializeData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertiesByRef(IPropertySet props) throws IOException, AutomationException
setPropertiesByRef
in interface IXMLSerializeData
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int find(String name) throws IOException, AutomationException
find
in interface IXMLSerializeData
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IXMLSerializeData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getString(int index) throws IOException, AutomationException
getString
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getBoolean(int index) throws IOException, AutomationException
getBoolean
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte getByte(int index) throws IOException, AutomationException
getByte
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getShort(int index) throws IOException, AutomationException
getShort
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getInteger(int index) throws IOException, AutomationException
getInteger
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public float getFloat(int index) throws IOException, AutomationException
getFloat
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDouble(int index) throws IOException, AutomationException
getDouble
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date getDate(int index) throws IOException, AutomationException
getDate
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getObject(int index, String typeNamespace, String typeName) throws IOException, AutomationException
getObject
in interface IXMLSerializeData
index
- The index (in)typeNamespace
- The typeNamespace (in)typeName
- The typeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] getBinary(int index) throws IOException, AutomationException
getBinary
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getVariant(int index) throws IOException, AutomationException
getVariant
in interface IXMLSerializeData
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addString(String name, String value) throws IOException, AutomationException
addString
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addBoolean(String name, boolean value) throws IOException, AutomationException
addBoolean
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addByte(String name, byte value) throws IOException, AutomationException
addByte
in interface IXMLSerializeData
name
- The name (in)value
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addShort(String name, short value) throws IOException, AutomationException
addShort
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addInteger(String name, int value) throws IOException, AutomationException
addInteger
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addFloat(String name, float value) throws IOException, AutomationException
addFloat
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDouble(String name, double value) throws IOException, AutomationException
addDouble
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDate(String name, Date value) throws IOException, AutomationException
addDate
in interface IXMLSerializeData
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addObject(String name, Object value) throws IOException, AutomationException
addObject
in interface IXMLSerializeData
name
- The name (in)value
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addBinary(String name, byte[] value) throws IOException, AutomationException
addBinary
in interface IXMLSerializeData
name
- The name (in)value
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addVariant(String name, Object value) throws IOException, AutomationException
addVariant
in interface IXMLSerializeData
name
- The name (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFlag(String name, boolean flagValue) throws IOException, AutomationException
setFlag
in interface IXMLSerializeData
name
- The name (in)flagValue
- The flagValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getFlag(String name) throws IOException, AutomationException
getFlag
in interface IXMLSerializeData
name
- The name (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 |