public class XMLTypeMapper extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLTypeMapper, IXMLTypeMapper2, IXMLTypeMapper3, ISupportErrorInfo
Description 'A type converter for XML and 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 =
IID, IID551c10e7_ae94_4fdf_8d24_4b55f674c8fa, xxDummyIID39fdb45d_2b8e_4e07_a24c_55d722bc4bacIIDa9a5de92_e3c9_4940_b0f4_6d93cdf2602bIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy| Constructor and Description |
|---|
XMLTypeMapper()
Constructs a XMLTypeMapper using ArcGIS Engine.
|
XMLTypeMapper(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
XMLTypeMapper theXMLTypeMapper = (XMLTypeMapper) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
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 |
fromInt64(long value)
Converts an int64 to an XML integer.
|
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.
|
java.lang.String |
fromUInteger(int value)
Converts an unsigned long to an XML integer.
|
java.lang.String |
fromUShort(short value)
Converts an unsigned short to an XML short.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
void |
release()
Release this COM object reference
|
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.
|
long |
toInt64(java.lang.String text)
Converts an XML integer to an int64.
|
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.
|
int |
toUInteger(java.lang.String text)
Converts an XML integer to an unsigned long.
|
short |
toUShort(java.lang.String text)
Converts an XML short to an unsigned short.
|
public XMLTypeMapper()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic XMLTypeMapper(java.lang.Object obj)
throws java.io.IOException
XMLTypeMapper theXMLTypeMapper = (XMLTypeMapper) obj;obj to XMLTypeMapper.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic java.lang.Object toObject(java.lang.String namespaceURI,
java.lang.String typeName)
throws java.io.IOException,
AutomationException
toObject in interface IXMLTypeMappernamespaceURI - The namespaceURI (in)typeName - The typeName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int toInteger(java.lang.String text)
throws java.io.IOException,
AutomationException
toInteger in interface IXMLTypeMappertext - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean toBoolean(java.lang.String text)
throws java.io.IOException,
AutomationException
toBoolean in interface IXMLTypeMappertext - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public short toShort(java.lang.String text)
throws java.io.IOException,
AutomationException
toShort in interface IXMLTypeMappertext - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public byte toByte(java.lang.String text)
throws java.io.IOException,
AutomationException
toByte in interface IXMLTypeMappertext - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public float toFloat(java.lang.String text)
throws java.io.IOException,
AutomationException
toFloat in interface IXMLTypeMappertext - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double toDouble(java.lang.String text)
throws java.io.IOException,
AutomationException
toDouble in interface IXMLTypeMappertext - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.util.Date toDate(java.lang.String text)
throws java.io.IOException,
AutomationException
toDate in interface IXMLTypeMappertext - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public byte[] toBinary(java.lang.String text)
throws java.io.IOException,
AutomationException
toBinary in interface IXMLTypeMappertext - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromInteger(int value)
throws java.io.IOException,
AutomationException
fromInteger in interface IXMLTypeMappervalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromBoolean(boolean value)
throws java.io.IOException,
AutomationException
fromBoolean in interface IXMLTypeMappervalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromShort(short value)
throws java.io.IOException,
AutomationException
fromShort in interface IXMLTypeMappervalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromByte(byte value)
throws java.io.IOException,
AutomationException
fromByte in interface IXMLTypeMappervalue - An unsigned byte (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromFloat(float value)
throws java.io.IOException,
AutomationException
fromFloat in interface IXMLTypeMappervalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromDouble(double value)
throws java.io.IOException,
AutomationException
fromDouble in interface IXMLTypeMappervalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromDate(java.util.Date value)
throws java.io.IOException,
AutomationException
fromDate in interface IXMLTypeMappervalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromBinary(byte[] value)
throws java.io.IOException,
AutomationException
fromBinary in interface IXMLTypeMappervalue - An unsigned byte (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromInt64(long value)
throws java.io.IOException,
AutomationException
fromInt64 in interface IXMLTypeMapper2value - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long toInt64(java.lang.String text)
throws java.io.IOException,
AutomationException
toInt64 in interface IXMLTypeMapper2text - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public short toUShort(java.lang.String text)
throws java.io.IOException,
AutomationException
toUShort in interface IXMLTypeMapper3text - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int toUInteger(java.lang.String text)
throws java.io.IOException,
AutomationException
toUInteger in interface IXMLTypeMapper3text - The text (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromUShort(short value)
throws java.io.IOException,
AutomationException
fromUShort in interface IXMLTypeMapper3value - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String fromUInteger(int value)
throws java.io.IOException,
AutomationException
fromUInteger in interface IXMLTypeMapper3value - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.