|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXMLSerializeData
Provides access to members that serialize and deserialize data from XML.
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 |
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 |
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. |
Method Detail |
---|
String getTypeName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getTypeNamespaceURI() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTypeName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTypeNamespaceURI(String ns) throws IOException, AutomationException
ns
- The ns (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getProperties() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertiesByRef(IPropertySet props) throws IOException, AutomationException
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.int find(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getString(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getBoolean(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte getByte(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getShort(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getInteger(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.float getFloat(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getDouble(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Date getDate(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getObject(int index, String typeNamespace, String typeName) throws IOException, AutomationException
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.byte[] getBinary(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getVariant(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addString(String name, String value) throws IOException, AutomationException
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addBoolean(String name, boolean value) throws IOException, AutomationException
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addByte(String name, byte value) throws IOException, AutomationException
name
- The name (in)value
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addShort(String name, short value) throws IOException, AutomationException
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addInteger(String name, int value) throws IOException, AutomationException
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addFloat(String name, float value) throws IOException, AutomationException
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addDouble(String name, double value) throws IOException, AutomationException
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addDate(String name, Date value) throws IOException, AutomationException
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addObject(String name, Object value) throws IOException, AutomationException
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.void addBinary(String name, byte[] value) throws IOException, AutomationException
name
- The name (in)value
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addVariant(String name, Object value) throws IOException, AutomationException
name
- The name (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFlag(String name, boolean flagValue) throws IOException, AutomationException
name
- The name (in)flagValue
- The flagValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getFlag(String name) throws IOException, AutomationException
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 |