com.esri.arcgis.system
Interface IXMLTypeMapper

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IXMLTypeMapper2
All Known Implementing Classes:
IXMLTypeMapper2Proxy, IXMLTypeMapperProxy, XMLTypeMapper

public interface IXMLTypeMapper
extends java.io.Serializable

COM Interface 'IXMLTypeMapper'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to members that convert to and from XML to native types.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDa9a5de92_e3c9_4940_b0f4_6d93cdf2602b
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 java.lang.String fromBinary(byte[] value)
          Converts a byte array to an XML byte array.
 java.lang.String fromBoolean(boolean value)
          Converts a boolean to an XML boolean.
 java.lang.String fromByte(byte value)
          Converts a byte to an XML byte.
 java.lang.String fromDate(java.util.Date value)
          Converts a date to an XML date.
 java.lang.String fromDouble(double value)
          Converts a double to an XML double.
 java.lang.String fromFloat(float value)
          Converts a float to an XML float.
 java.lang.String fromInteger(int value)
          Converts a long to an XML integer.
 java.lang.String fromShort(short value)
          Converts a short to an XML short.
 byte[] toBinary(java.lang.String text)
          Converts an XML byte array to a byte array.
 boolean toBoolean(java.lang.String text)
          Converts an XML boolean to a boolean.
 byte toByte(java.lang.String text)
          Converts an XML byte to a byte.
 java.util.Date toDate(java.lang.String text)
          Converts an XML date to a date.
 double toDouble(java.lang.String text)
          Converts an XML double to a double.
 float toFloat(java.lang.String text)
          Converts an XML float to a float.
 int toInteger(java.lang.String text)
          Converts an XML integer to a long.
 java.lang.Object toObject(java.lang.String namespaceURI, java.lang.String typeName)
          Creates an object based on XML type information.
 short toShort(java.lang.String text)
          Converts an XML short to a short.
 

Field Detail

IIDa9a5de92_e3c9_4940_b0f4_6d93cdf2602b

static final int IIDa9a5de92_e3c9_4940_b0f4_6d93cdf2602b
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

toObject

java.lang.Object toObject(java.lang.String namespaceURI,
                          java.lang.String typeName)
                          throws java.io.IOException,
                                 AutomationException
Creates an object based on XML type information.

Parameters:
namespaceURI - The namespaceURI (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.

toInteger

int toInteger(java.lang.String text)
              throws java.io.IOException,
                     AutomationException
Converts an XML integer to a long.

Parameters:
text - The text (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toBoolean

boolean toBoolean(java.lang.String text)
                  throws java.io.IOException,
                         AutomationException
Converts an XML boolean to a boolean.

Parameters:
text - The text (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toShort

short toShort(java.lang.String text)
              throws java.io.IOException,
                     AutomationException
Converts an XML short to a short.

Parameters:
text - The text (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toByte

byte toByte(java.lang.String text)
            throws java.io.IOException,
                   AutomationException
Converts an XML byte to a byte.

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

toFloat

float toFloat(java.lang.String text)
              throws java.io.IOException,
                     AutomationException
Converts an XML float to a float.

Parameters:
text - The text (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toDouble

double toDouble(java.lang.String text)
                throws java.io.IOException,
                       AutomationException
Converts an XML double to a double.

Parameters:
text - The text (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toDate

java.util.Date toDate(java.lang.String text)
                      throws java.io.IOException,
                             AutomationException
Converts an XML date to a date.

Parameters:
text - The text (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toBinary

byte[] toBinary(java.lang.String text)
                throws java.io.IOException,
                       AutomationException
Converts an XML byte array to a byte array.

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

fromInteger

java.lang.String fromInteger(int value)
                             throws java.io.IOException,
                                    AutomationException
Converts a long to an XML integer.

Parameters:
value - The value (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fromBoolean

java.lang.String fromBoolean(boolean value)
                             throws java.io.IOException,
                                    AutomationException
Converts a boolean to an XML boolean.

Parameters:
value - The value (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fromShort

java.lang.String fromShort(short value)
                           throws java.io.IOException,
                                  AutomationException
Converts a short to an XML short.

Parameters:
value - The value (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fromByte

java.lang.String fromByte(byte value)
                          throws java.io.IOException,
                                 AutomationException
Converts a byte to an XML byte.

Parameters:
value - An unsigned byte (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fromFloat

java.lang.String fromFloat(float value)
                           throws java.io.IOException,
                                  AutomationException
Converts a float to an XML float.

Parameters:
value - The value (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fromDouble

java.lang.String fromDouble(double value)
                            throws java.io.IOException,
                                   AutomationException
Converts a double to an XML double.

Parameters:
value - The value (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fromDate

java.lang.String fromDate(java.util.Date value)
                          throws java.io.IOException,
                                 AutomationException
Converts a date to an XML date.

Parameters:
value - The value (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fromBinary

java.lang.String fromBinary(byte[] value)
                            throws java.io.IOException,
                                   AutomationException
Converts a byte array to an XML byte array.

Parameters:
value - An unsigned byte (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.