public interface IXMLSerializeData
extends 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 |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID5bb4a18d_43bc_41c5_987a_2206fd15488f |
static int |
xxDummy
Deprecated.
Internal use only
|
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 |
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 |
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.
|
static final int IID5bb4a18d_43bc_41c5_987a_2206fd15488f
static final int xxDummy
static final java.lang.String IID
java.lang.String getTypeName() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getTypeNamespaceURI() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setTypeName(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setTypeNamespaceURI(java.lang.String ns) throws java.io.IOException, AutomationException
ns
- The ns (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IPropertySet getProperties() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setPropertiesByRef(IPropertySet props) throws java.io.IOException, AutomationException
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.int find(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getString(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean getBoolean(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.byte getByte(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.short getShort(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getInteger(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.float getFloat(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getDouble(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.util.Date getDate(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object getObject(int index, java.lang.String typeNamespace, java.lang.String typeName) throws java.io.IOException, AutomationException
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.byte[] getBinary(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object getVariant(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addString(java.lang.String name, java.lang.String value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addBoolean(java.lang.String name, boolean value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addByte(java.lang.String name, byte value) throws java.io.IOException, AutomationException
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.void addShort(java.lang.String name, short value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addInteger(java.lang.String name, int value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addFloat(java.lang.String name, float value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addDouble(java.lang.String name, double value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addDate(java.lang.String name, java.util.Date value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addObject(java.lang.String name, java.lang.Object value) throws java.io.IOException, AutomationException
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.void addBinary(java.lang.String name, byte[] value) throws java.io.IOException, AutomationException
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.void addVariant(java.lang.String name, java.lang.Object value) throws java.io.IOException, AutomationException
name
- The name (in)value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setFlag(java.lang.String name, boolean flagValue) throws java.io.IOException, AutomationException
name
- The name (in)flagValue
- The flagValue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean getFlag(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.